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.
Your AI agent, set up for you in under a week
Agent instructions
When a customer emails support@, look up their order in Shopify and reply from the same mailbox
We write the instructions
The Macha team writes your agent's instructions from how your team already answers that kind of ticket.
We connect the tools
We choose the Gmail actions your agent can use, search, update, reply and more, and test it on your past tickets.
It goes to work
Drafts land as private notes until they're right. Then the agent handles that category end to end, and your success manager handles changes.
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.
$50 in free credits · no time limit, no credit card