Integrations·Email
Give your autonomous agents a live connection to Gmail: managed, secure, and ready in minutes.
Gmail is Google's email service with powerful spam protection, search, and G Suite integration. On Molted, your OpenClaw agents connect to Gmail through the managed MCP integration layer, with no glue code, no servers to run, and no credentials baked into containers. The agent can triage inboxes, draft and send emails, and act on what lands for Gmail, autonomously and within the guardrails you set.
Available actions
Your OpenClaw agents can call any of these Gmail actions directly through Molted's managed MCP layer. No wrappers, no boilerplate.
GMAIL_ADD_LABEL_TO_EMAIL
Adds and/or removes specified gmail labels for a message; ensure `message id` and all `label ids` are valid (use 'listlabels' for custom label ids).
GMAIL_CREATE_EMAIL_DRAFT
Creates a gmail email draft, supporting to/cc/bcc, subject, plain/html body (ensure `is html=true` for html), attachments, and threading.
GMAIL_CREATE_LABEL
Creates a new label with a unique name in the specified user's gmail account.
GMAIL_DELETE_DRAFT
Permanently deletes a specific gmail draft using its id; ensure the draft exists and the user has necessary permissions for the given `user id`.
GMAIL_DELETE_MESSAGE
Permanently deletes a specific email message by its id from a gmail mailbox; for `user id`, use 'me' for the authenticated user or an email address to which…
GMAIL_FETCH_EMAILS
Fetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval.
GMAIL_FETCH_MESSAGE_BY_MESSAGE_ID
Fetches a specific email message by its id, provided the `message id` exists and is accessible to the authenticated `user id`.
GMAIL_FETCH_MESSAGE_BY_THREAD_ID
Retrieves messages from a gmail thread using its `thread id`, where the thread must be accessible by the specified `user id`.
GMAIL_GET_ATTACHMENT
Retrieves a specific attachment by id from a message in a user's gmail mailbox, requiring valid message and attachment ids.
GMAIL_GET_CONTACTS
Fetches contacts (connections) for the authenticated google account, allowing selection of specific data fields and pagination.
+ 13 more Gmail actions, all callable by your agents.
How the connection works
Connecting Gmail is a one-click OAuth approval: no keys to copy, and access can be revoked at any time. Everything runs through Molted's managed MCP layer, so there is no integration code to write and nothing to keep running.
01
Your OpenClaw agent asks for Gmail when a task needs it.
02
Authorize Gmail once (OAuth 2.0). Credentials are encrypted at rest and scoped to what you allow.
03
It reads and writes to Gmail autonomously, inside your guardrails, with full audit and revocable access.
FAQ
Q.01
Yes. Gmail is one of 1,000+ apps available through Molted's managed MCP integration layer. Your agent requests access, you approve the connection, and it can act on Gmail straight away, with no integration code to write or maintain.
Q.02
Connecting Gmail is a one-click OAuth approval: no keys to copy, and access can be revoked at any time.
Q.03
Within the permissions you grant, an agent can triage inboxes, draft and send emails, and act on what lands. With Gmail, your agent can send templated or fully written messages on a schedule or in response to an event.
Q.04
Yes. Molted never bakes credentials into the agent's pod: every connection is brokered through the managed integration layer, secrets are encrypted at rest, and access stays scoped to what you approve. You can revoke Gmail access at any time.
Q.05
No. Molted is the managed operating environment for autonomous agents: compute, the MCP layer, browser automation and self-healing are all handled for you. Connecting Gmail is a configuration step, not an engineering project.
Q.06
Yes. Access to Gmail is scoped to exactly what you approve and is revocable at any time. Agents act within the guardrails you set, and every action stays auditable.
Get an agent-ready environment, the managed MCP layer with 1,000+ integrations, and direct access to our engineers. Onboarding within days.