Agent Mail
agent_mailAgentMail provides AI agents with their own email inboxes, enabling them to send, receive, and act upon emails for communication with services, people, and other agents.
Acciones disponibles (3)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Get MessageAGENT_MAIL_GET_MESSAGEAcciónGet a specific message from an agentmail inbox
AGENT_MAIL_GET_MESSAGEAcciónGet a specific message from an agentmail inbox
Parámetros de entrada
inbox_idstringObligatorioThe inbox ID or email address containing the message
message_idstringObligatorioThe unique ID of the message to retrieve
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List MessagesAGENT_MAIL_LIST_MESSAGESAcciónList messages from an agentmail inbox
AGENT_MAIL_LIST_MESSAGESAcciónList messages from an agentmail inbox
Parámetros de entrada
limitintegerMaximum number of messages to return (1-100)
labelsstring[]Filter messages by labels
inbox_idstringObligatorioThe inbox ID or email address to list messages from
ascendingbooleanWhether to sort messages in ascending order by timestamp
page_tokenstringToken for pagination to get the next set of results
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send EmailAGENT_MAIL_SEND_EMAILAcciónSend an email using agentmail api
AGENT_MAIL_SEND_EMAILAcciónSend an email using agentmail api
Parámetros de entrada
ccstring[]List of CC recipient email addresses
tostring[]ObligatorioList of recipient email addresses
bccstring[]List of BCC recipient email addresses
htmlstringHTML content of the email. If provided, both text and html should be included for best compatibility.
textstringPlain text content of the email
labelsstring[]Labels to apply to the sent message
subjectstringEmail subject line
inbox_idstringObligatorioThe inbox ID or email address to send from (e.g., 'agent@agentmail.to')
reply_tostring[]Reply-to email addresses
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Triggers (1)
Los triggers son eventos externos que pueden iniciar un flujo en tus agentes (ej: nuevo email, mensaje recibido, registro creado).
New Email ReceivedAGENT_MAIL_NEW_EMAIL_TRIGGERTriggerTrigger for new emails in an AgentMail inbox
AGENT_MAIL_NEW_EMAIL_TRIGGERTriggerTrigger for new emails in an AgentMail inbox
Configuración
inbox_idstringObligatorioThe inbox ID or email address to monitor for new emails
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
labelsstring[]Filter messages by specific labels (e.g., 'unread', 'inbox')
Payload del evento
attachmentsobject[]Message attachments
bccstring[]BCC email addresses
ccstring[]CC email addresses
created_atstringObligatorioWhen the message was created
fromstringObligatorioSender's email address
htmlstringHTML content
in_reply_tostringID of message being replied to
inbox_idstringObligatorioID of the inbox
labelsstring[]ObligatorioLabels applied to the message
message_idstringObligatorioID of the message
previewstringText preview of the message
referencesstring[]IDs of previous messages in thread
reply_tostring[]Reply-to email addresses
subjectstringEmail subject
textstringPlain text content
thread_idstringObligatorioID of the thread
timestampstringObligatorioWhen the message was received
tostring[]ObligatorioRecipient email addresses
updated_atstringObligatorioWhen the message was last updated