Skip to the page

List emails

The emails the workspace has sent, newest first, by status, time and search.

emails_list
Needs the scopeemails:read
Only reads

Arguments

  • qstring

    Text to search for. Only items that contain it are returned. Up to 40 characters.

  • limitinteger

    How many items to return, from 1 to 100. Without it you get 25.

  • offsetinteger

    How many items to skip. Use it with limit to read the next page. Default: 0.

  • afterstring

    The id of the last item you have. The answer starts with the item that follows it, which reads a long list without skipping or repeating when it changes meanwhile. Up to 64 characters.

  • beforestring

    The id of the first item you have. The answer ends with the item just before it. Give this or after, not both. Up to 64 characters.

  • rangestring

    The period to look at: today, week, month, year, all or custom. Without it there is no limit in time.

    One oftodayweekmonthyearallcustom

  • fromstring

    The first day of a custom period, as a date such as 2026-11-01.

  • tostring

    The last day of a custom period, as a date such as 2026-11-30.

  • statusstring

    Only emails in this state.

    One ofqueuedsentdelivereddelayedbouncedopenedclickedcomplainedfailedscheduledcanceled

  • modestring

    Only real emails (live) or only emails of the sandbox (test).

    One oflivetest

Returns

The answer comes back under structuredContent, with the same JSON as text in content. A call the API refuses comes back with isError set, and the code and the message under structuredContent.error. MCP shows how to connect a client.

  • object"list"

    Always list.

  • dataobject[]

    The items on this page.

  • data[].object"email"

    Always email.

  • data[].idstring

    The id of the email.

  • data[].fromstring

    The sender.

  • data[].tostring[]

    Who the email is for.

  • data[].subjectstring

    The subject line.

  • data[].statusstring

    Where the email is: scheduled, queued, sent, delivered, delayed, bounced, complained, failed or canceled, and opened or clicked once the recipient acts.

    One ofqueuedsentdelivereddelayedbouncedopenedclickedcomplainedfailedscheduledcanceled

  • data[].modestring

    live for a real email. test for an email of the sandbox: it was sent with a test key or to test addresses, nothing left the service and what happened to it is simulated.

    One oflivetest

  • data[].domainstring

    The domain it was sent from.

  • data[].ccstring[]

    Who got a copy.

  • data[].bccstring[]

    Who got a copy without the others seeing.

  • data[].replyTostring | null

    The address replies go to, or null.

  • data[].scheduledAtstring | null

    When it is due to be sent, or null for an email sent at once.

  • data[].createdAtstring

    When the API accepted the email.

  • totalinteger

    How many items match in all, on every page together.

  • hasMoreboolean

    Whether more items follow this page.