Actions15
- Message Actions
- Mailbox Actions
Message → List
AI-generatedSummary
List messages from a specified Yahoo Mail mailbox with optional filtering criteria.
Inputs
- Mailbox (required) — The mailbox folder to retrieve messages from, e.g., INBOX or Sent.
- Options — Optional filters and pagination parameters including: search text in subject/body, date range ('Since' and 'Before'), flags for unread only, flagged only, messages with attachments, limit on number of messages returned (1-1000), and offset for skipping messages.
Output shape
An array containing an object with a 'messages' field that holds the list of messages matching the criteria.
The maximum number of messages returned is controlled by the 'Limit' option, defaulting to 50. The operation performs IMAP fetches and returns JSON with message metadata. Errors occur if the mailbox is invalid or on failure to connect.
Examples
Example 1: List unread messages in the Inbox since a certain date, limited to 100
Mailbox='INBOX'; Options: unread=true, since='2024-01-01', limit=100