Gmail
Connect Gmail to Macha and give your AI agent full access to a shared or personal mailbox. Search and read messages with Gmail's own operators, label and archive to keep the inbox tidy, and send or reply from the connected account. Set up the New Message trigger to route incoming mail into an agent workflow — the moment an email lands, an agent can classify it, look up context in your other tools, and reply.
Triggers & Actions
Action
Search Emails
Search Gmail with the same operators you'd use in the web UI — from:, subject:, has:attachment, is:unread, newer_than:. Returns message metadata for follow-up.
Action
Get Email
Fetch the full body, headers, and attachment list of a single message.
Action
Send Email
Send a new email from the connected mailbox. Supports plain text or HTML, plus Cc/Bcc.
Action
Reply to Email
Reply to an existing thread while preserving the subject and the thread chain.
Action
Modify Labels
Add or remove Gmail labels on a message. Use to mark read/unread, star, archive, or apply custom labels.
Trigger
New Message Received
Fires when a new email arrives in the mailbox. Optionally scoped to a specific label.
Trigger
Email Sent
Fires when the mailbox sends an email. Loop-prone — the setup flow warns before enabling on a reply-capable agent.
Get your AI agent started in minutes
Agent instructions
When a customer emails support@, look up their order in Shopify and reply from the same mailbox
Instruct your AI
Tell your agent what to do in plain English. No code, no complex setup.
Search Emails
Get Email
Tools for the AI
Select the tools
Pick which Gmail actions your agent can use, search, update, reply, and more.
Let the AI work
Your agent handles it end-to-end, reads, decides, acts, done.
Gmail works with everything else.
Gmail is even more powerful when connected alongside your other tools. Macha brings them all together, so your AI assistant has full context across your entire stack.
Explore all integrations









Ready to connect
Gmail?
Set up in minutes. No code, no implementation team. Just connect and go.
500 free credits · no time limit, no credit card
Confluence