List Recent Gmail Emails
The List Recent Gmail Emails block retrieves the most recent messages from a connected Gmail inbox and makes them available as structured data within a workflow.
Fetch recent emails from a connected Gmail inbox
The List Recent Gmail Emails block retrieves the most recent messages from a connected Gmail inbox and makes them available as structured data within a workflow. It connects to Gmail via a Google OAuth connection and returns emails ordered from most recent to oldest, with a configurable limit of between 1 and 100 messages (defaulting to 5).
The block's key configuration options include the Google OAuth connection ID, a limit on how many emails to retrieve, an export format (either JSON or plain text), and a destination variable where the results are stored. Each returned email includes fields for the Gmail message ID, subject, sender, recipient, date, plain text body, HTML body (when available), and a comma-separated string of label IDs.
This block fits naturally into workflows that need to monitor, process, or respond to incoming email — such as triaging support requests, summarizing inbox activity, routing messages based on sender or subject, or feeding email content into downstream AI processing steps.
What you can build
Real-world workflows powered by the List Recent Gmail Emails block.
Inbox Triage Automation
Retrieve recent emails and classify them by subject or sender to automatically route messages to the appropriate team or workflow branch.
Daily Email Summaries
Pull the latest inbox messages on a schedule and pass their plain text bodies to an AI summarization step to generate a digest.
Support Ticket Creation
Fetch new customer emails and extract key details to automatically create support tickets in a connected project management tool.
Lead Capture from Email
Monitor an inbox for inbound inquiries and parse sender and body fields to log new leads into a CRM or database.
Email-Triggered Notifications
Check for recent emails matching specific patterns and trigger downstream alerts or messages in Slack or other channels.
Content Extraction Pipeline
Retrieve emails containing reports or data exports and pass the HTML or plain text body into a parsing or transformation block.
Ready to add List Recent Gmail Emails to your workflow?
Get Started FreeCommon questions about List Recent Gmail Emails
What are the required parameters for this block?
The block requires a Google OAuth connection ID with Gmail readonly scope. You also need to specify the export format (JSON or text), a limit for how many emails to return (between 1 and 100), and optionally a destination variable to store the results.
What data does the block return for each email?
Each email in the returned array includes a Gmail message ID, subject, from address, to address, date, plain text body, HTML body (if available), and a comma-separated string of label IDs.
How many emails can the block retrieve at once?
The block can return between 1 and 100 emails per execution. The default limit is 5. Emails are ordered from most recent to oldest.
What kinds of workflows is this block suited for?
This block is suited for workflows that need to read and process incoming email, such as inbox monitoring, support ticket routing, lead capture, email summarization, and content extraction pipelines.
Can I choose the format in which the email data is stored?
Yes. The exportType parameter lets you choose between JSON and text format for the variable output, depending on how downstream blocks in your workflow need to consume the data.
Related capabilities
[Google] Create Google Doc
Create a new Google Document and optionally populate it with content.
[Google] Update Google Doc
Update the contents of an existing Google Document.
[Google] Fetch Google Doc
Fetch the contents of an existing Google Document.
[Google] Create Google Sheet
Create a new Google Spreadsheet and populate it with CSV data.
[Google] Update Google Sheet
Update a Google Spreadsheet with new data.
[Google] Fetch Google Sheet
Fetch contents of a Google Spreadsheet range.
Add List Recent Gmail Emails to your workflow
Build powerful AI workflows with drag-and-drop blocks. No coding required.