SmartLead icon

SmartLead

Interact with SmartLead API (campaigns, leads, inbox, analytics, delivery, and webhooks)

Actions144

Master Inbox → Get Important Emails

AI-generated

Summary

Fetch important email items from the Master Inbox, optionally limiting or returning all, and allow custom request configuration.

Inputs

  • returnAll — Whether to return all results or only up to a given limit.
  • limit — Max number of results to return.
  • pageSize — Page size used while fetching all pages.
  • offset — Offset for paginated list operations.
  • requestBody — Request payload as JSON object.
  • requestOptions — Additional HTTP settings such as batching, timeout, proxy, and SSL options.

Output shape

a paginated list of important email items

Returns an array of email objects with pagination metadata (total, hasMore) when pagination parameters are used; without pagination it returns a single list of items; errors follow the standard n8n error envelope.

Examples

Example 1: Retrieve up to 10 important emails in a single page

Operation: Get Important Emails, Resource: Master Inbox, Return All: false, Limit: 10, other inputs left default.

Example 2: Iterate through all important emails using pagination

Operation: Get Important Emails, Resource: Master Inbox, Return All: true, Page Size: 100, Offset: 0 (incremented automatically).

Example 3: Apply timeout and batching via request options

Add Request Options: timeout=15000, batchSize=50, batchInterval=0; keep default Return All and Limit.

Links

Discussion