RCSZilla icon

RCSZilla

Send SMS, WhatsApp messages, and OTP codes — and read incoming messages and emails — via RCSZilla

Get Incoming Emails

AI-generated

Summary

Retrieves emails received on connected mailboxes based on configurable filters.

Inputs

  • fromEmail — Only return emails from this sender.
  • search — Search by subject, sender email address, or sender name.
  • since — Only return emails received on or after this date/time.
  • until — Only return emails received before this date/time.
  • afterId — Only return emails with an ID greater than this value (useful for polling for new emails).
  • limit — Maximum number of emails to return (default 50, range 1–100).
  • offset — Number of emails to skip (for pagination).

Output shape

a list of items (one per email found)

Returns items paired with the input item index. Uses the 'incoming_emails' endpoint to filter by 'from_email', 'search', 'since', 'until', 'after_id', 'limit', and 'offset'.

Examples

Example 1: Fetch the most recent 10 emails from a specific sender

Set From Email to the sender's address, Limit to 10, and leave other filters empty.

Example 2: Poll for emails received after a specific timestamp

Set Since to a past date/time and Offset to 0 to start from the beginning of the results.

Links

Discussion