AgentMail integration
Communication · 21 actions · API key auth
Integrate AgentMail into your workflow. Create and manage email inboxes, send and receive messages, reply to threads, manage drafts, and organize threads with labels.
The ModuleX AgentMail integration lets a ModuleX agent operate AgentMail on your behalf — running create, update and send actions across messages, threads and drafts — directly from a plain-English request, using your organization's own AgentMail credentials. No pre-built workflow is required: the agent picks the right AgentMail action for the task.
AgentMail is a communication platform. ModuleX adds the agent layer: ask for an outcome and it selects and runs the right AgentMail action — or, when you want a repeatable process, the composer assembles a AgentMail workflow for you, streaming the nodes onto the canvas as it builds.
Drive AgentMail in plain English
Type what you want. A ModuleX agent picks the right AgentMail action — or chains several — and runs it. No workflow to build.
- Create a new email draft in AgentMailresolves to
create_draft - Find the message I describe and send itresolves to
list_messagessend_message - Add or remove labels on an email message in AgentMailresolves to
update_message - Show me the messages that match what I describeresolves to
get_message
What you can automate with AgentMail
- Find the right message and send it in one prompt
list_messagessend_message - Pull a list of threads for a report
list_threads - Create a draft straight from a request
create_draft - Look up an inbox on demand
get_inbox
AgentMail integration at a glance
All 21 AgentMail actions
Messages6
send_messagereply_messageforward_messagelist_messagesget_messageupdate_messageThreads4
list_threadsget_threadupdate_threaddelete_threadDrafts6
create_draftlist_draftsget_draftupdate_draftdelete_draftsend_draftInboxes5
create_inboxlist_inboxesget_inboxupdate_inboxdelete_inboxSee full parameters and response schemas in the AgentMail integration docs
Two ways to use AgentMail in ModuleX
Connecting AgentMail
Pairs well with AgentMail
Agents often chain AgentMail with these — connect them once and the agent can use all of them in a single task.
AgentMail + ModuleX FAQ
Put AgentMail to work in ModuleX.
Connect AgentMail once with your own credentials and let your agent run all 21 actions on demand.