AgentMail and Gmail Integration
Build communication workflows between AgentMail and Gmail on a visual canvas. Set up data fields sync between apps once and let data flow when events come automatically. Integration will work without code and your team will see the workflow inside WEXTL® builder.
- 3-day trial
- Cancel anytime
- Up to 10 minutes quick set up
- GDPR
- Data Encryption
- 2FA
- Local Data Region
Learn about AgentMail and Gmail
Detailed info you need to know about AgentMail and Gmail integrations in WEXTL. Explore which modules apps support and how you connect them.
How to connect AgentMail to Gmail
Set up your AgentMail and Gmail integration in 3 simple steps[2]. No coding required. Up to 10 minutes setup.
STEP 1
Connect AgentMail and Gmail
Save credentials in WEXTL once. We store them encrypted and reuse the authorization across every workflow[3]. No coding or API skills required.
STEP 2
Build a workflow
Paste selected AgentMail and Gmail nodes onto the canvas[4], or describe what you want and WEXTL wires the flow together with AI Builder.
STEP 3
Map your data
Choose which fields need to sync between AgentMail and Gmail. Use filters or a JS custom code step in between. Everything is on the canvas.
How does the integration between AgentMail and Gmail work in WEXTL?
WEXTL exposes actions and triggers for AgentMail and Gmail that help you connect apps and automate repetitive tasks[1]. A trigger is an event that happens, and an action is a step that performs when the event has occurred.
AgentMail triggersGmail actions
AgentMail modules
- Watch Events Starts the workflow instantly when AgentMail sends a webhook for an email or calendar event, such as a received, sent or bounced message. Choose one event per node and restrict it to chosen inboxes or pods.
- Confirm a Forwarding Address Completes the verification of a forwarding address with the Code from the email AgentMail sent to the Destination.
- Create a Calendar Event Puts a one-off or recurring event on the calendar of an inbox, with a Title, Start and End. Add Attendees, a Recurrence rule or a Time Zone, and turn on Send Invites to email the attendees.
- Create a Domain Registers a custom domain for sending and receiving mail. Use Tracking Enabled to serve open tracking pixels from it and Allow Conflicting Provider when the domain already has Google Workspace MX records. Turn off Inbound Enabled for a send-only domain.
- Create a List Entry Adds an address or domain as a sender rule for the whole organization, either allowed or blocked. Set Direction to cover sending, receiving or replying, and add a Reason to record the cause.
- Create a Pod Creates a pod, a group that holds its own inboxes, domains and API keys.
- Create a Pod API Key Creates an API key limited to one pod. Use Name to label it and Expires At to end it on a date.
- Create a Pod Domain Registers a custom domain inside a pod. Turn on Subdomains Enabled to allow inboxes on subdomains, and switch Inbound Enabled off for a send-only domain.
- Create a Pod Inbox Opens an inbox within a pod, with an optional Username, Domain and Display Name.
- Create a Pod List Entry Registers a rule for a pod that permits or refuses an address or domain. Set Direction to cover sending, receiving or replying.
- Create an API Key Creates an API key that reaches the whole organization. Use Permissions to limit what the key may do and Expires At to end it on a date.
- Create an Inbox Opens a new inbox on agentmail.to or on a verified domain. Leave Username empty for a random address, and set Display Name, Signature or Deactivate At to shape how it behaves.
- Create an Inbox API Key Creates an API key that reaches a single inbox and nothing else. Use Name to label it and Permissions to narrow it further.
- Create an Inbox Draft Saves an email in an inbox without sending it. Set In Reply To to start a reply, Forward Of to start a forward, and Send At to schedule the delivery.
- Create an Inbox List Entry Creates a rule for one inbox that allows or blocks an address or domain. Set Direction to cover sending, receiving or replying, and add a Reason to record the cause.
- Delete a Calendar Event Deletes an event from an inbox calendar, or cancels dates of a recurring event. Use Mode to cancel one date or all later dates, and turn on Send Invites to notify the attendees.
- Delete a Domain Removes a custom domain from the organization.
- Delete a Forwarding Rule Clears the forwarding rule that the organization uses for incoming mail.
- Delete a List Entry Deletes a sender rule from the organization.
- Delete a Message Deletes one message out of an inbox.
- Delete a Pod Removes one pod that groups inboxes, domains and API keys.
- Delete a Pod API Key Removes an API key that is limited to one pod.
- Delete a Pod Domain Deletes a custom domain that was registered inside a pod.
- Delete a Pod Forwarding Rule Clears the forwarding rule that a pod sets for itself.
- Delete a Pod Inbox Removes an inbox that lives inside a pod.
- Delete a Pod List Entry Deletes a pod rule that permitted or refused an address or domain.
- Delete a Pod Thread Removes a thread inside a pod.
- Delete a Thread Removes a thread of the organization.
- Delete an API Key Deletes an API key that belongs to the whole organization.
- Delete an Inbox Deletes an inbox and its address from AgentMail.
- Delete an Inbox API Key Deletes the API key issued for a single inbox.
- Delete an Inbox Draft Removes an unsent draft from an inbox.
- Delete an Inbox Forwarding Rule Clears the forwarding rule that one inbox sets for itself.
- Delete an Inbox List Entry Deletes a rule that allows or blocks an address or domain for an inbox.
- Delete an Inbox Thread Deletes a conversation thread inside one inbox.
- Forward a Message Forwards a message from an inbox to the To recipients, with optional CC, BCC, a new Subject or Attachments.
- Get a Calendar Agenda Lists the dates on an inbox calendar inside a time window. Use After and Before to frame the window and Limit to cap the rows.
- Get a Calendar Event Reads an event from an inbox calendar by its ID, or a single date of a recurring event. Send the etag from the answer as ETag when you update it.
- Get a Domain Reads a domain of the organization with its Status, DNS records and feature switches.
- Get a Domain Setup Link Gets a DNS setup link for a domain, along with whether its DNS provider supports one.
- Get a Domain Zone File Gets the DNS zone file text that a domain needs for its AgentMail records.
- Get a Draft Looks up a draft by its ID anywhere in the organization, without naming the inbox.
- Get a Draft Attachment Returns a download link for one file attached to a draft.
- Get a Draft Attachment in the Organization Fetches the download link of one draft attachment, wherever the draft sits in the organization.
- Get a Forwarding Rule Reads the addresses the organization forwards incoming mail to.
- Get a List Entry Reads a single sender rule of the organization.
- Get a Message Reads a message from an inbox with its sender, recipients, subject, labels and body.
- Get a Message Attachment Gives a download link for one file attached to a message.
- Get a Pod Reads a pod with its name and creation time.
- Get a Pod Domain Reads a domain registered inside a pod with its Status, DNS records and feature switches.
Gmail modules
- Batch Delete Email Messages Deletes several email messages in one request from their Message IDs. Trash a Message moves a single message to the trash instead of removing it.
- Create a Draft Email Saves a new draft built from its Recipient Email, Sender Email, Email Subject and Email Content. Output has the draft ID and Message, and Send a Draft Email can send it later.
- Delete a Draft Email Deletes a saved draft from your Gmail mailbox by its ID. Deletion is permanent.
- Delete a Thread Removes an email thread by ID in Gmail. It stays deleted.
- Delete an Email Message Deletes one email message, using its message ID. Removal is permanent.
- List Draft Emails Lists your saved drafts, one item per draft. Use Query to search with Gmail syntax and Limit to cap the results.
- List Messages Returns messages from your mailbox, one item per message. Use Query for Gmail search syntax, or Label IDs to keep only messages that carry all of the labels listed.
- List Threads Lists conversation threads in your mailbox, each with its Snippet and Messages. Narrow them with Query or Label IDs, and use Limit to cap the count.
- Make an API Call Sends a free-form request to the Gmail REST API, signed with your saved credential.
- Retrieve a Draft Email Returns one email draft by ID, with the draft ID and Message. Use Format to get the full message, only metadata, a minimal view or the raw source.
- Retrieve a Thread Fetches one email thread by ID, returning its Snippet, History ID and every message in it. Choose full messages, metadata only or a minimal view with Format.
- Retrieve an Email Message Fetches one email message by ID, including its Subject, From, To, Text content, HTML content and Attachments.
- Send a Draft Email Sends one of your saved drafts to every recipient listed on it. The ID, Thread ID and Snippet of the sent message are returned.
- Send an Email Message Sends a new email from the From address to the To address with a Subject and Email Content. For a message you saved first, use Send a Draft Email.
- Trash a Message Moves one email message to the trash. Untrash a Message reverses this for the same message.
- Trash a Thread Moves a whole thread, with every message in it, to the trash. Use Untrash a Thread to take it back out.
- Untrash a Message Lifts one message out of the trash. Trash a Message moves one there.
- Untrash a Thread Removes an email thread from the trash. Use Trash a Thread to send it back there.
- Update a Draft Email Overwrites a saved draft with a new Recipient Email, Sender Email, Email Subject and Email Content.
- Update the Labels of a Thread Adds or removes labels on a thread, up to 100 labels per update for Add Label IDs and for Remove Label IDs.
- Watch Email Messages Checks your mailbox on a schedule and starts the workflow for each new message. Use Label IDs to watch only certain labels, and Limit to cap how many messages each check handles.
Build a AgentMail and Gmail workflow with AI
Describe your automation with AgentMail and Gmail - and our AI Workflow Builder will make it done for you.
What you can automate with AgentMail and Gmail
Explore alternative integrations
There are other apps[9] supported by WEXTL that can be paired with AgentMail and Gmail integrations. Pick any from the list below if the current combination isn't the one you need.
Frequently asked questions
Common questions about connecting AgentMail and Gmail.
References
List of sources used to gather information about the AgentMail and Gmail integration.
- AgentMail and Gmail integration source code, module specs and credentials implementation.
- Our AgentMail and Gmail integration documentation, structured input and output parameters, scopes, and authentication methods.
- Official vendor API documentation for AgentMail and Gmail, used to verify field meanings, authentication flows, and anything our own specs don't fully capture.
- WEXTL® visual workflow builder, anonymized data from our technical support team.
- AgentMail integration information
- Gmail integration information
- WEXTL® Scheduling
- WEXTL® Pricing and Trial
- WEXTL® Apps Library
How we write our apps documentation
Explore how WEXTL® crafted AgentMail and Gmail integration page documentation. Used sources, the role of AI, and how the team validates the result.

