Outlook - Mail
Envía, lee y gestiona correos de Microsoft Outlook mediante Microsoft Graph API.
Envía, responde, reenvía, lee, lista o elimina mensajes de Outlook, o lee los adjuntos de un mensaje, mediante Microsoft Graph. El resultado de la operación elegida se devuelve en result.
Conecta tu cuenta de Microsoft 365 y automatiza las operaciones de correo: envía notificaciones, procesa el correo entrante, gestiona borradores y mucho más.
Operaciones:
- Send: Redacta y envía un correo nuevo con destinatarios, asunto, cuerpo y adjuntos opcionales.
- Reply: Responde a un correo existente a partir de su ID de mensaje.
- Get: Obtiene un correo concreto a partir de su ID de mensaje.
- List: Lista los correos de una carpeta con filtrado opcional.
- Delete: Elimina un correo a partir de su ID de mensaje.
- Forward: Reenvía un correo a nuevos destinatarios.
Cómo funciona
- Resuelve la configuración del nodo y exige
connection_id. Obtiene un token de Graph: si el secreto de la credencial tieneclient_id,client_secretytenant_id, solicita un token de aplicación; si no, usa tal cual eltokenoaccess_tokendel secreto. - Apunta a
/users/<mailbox_email>cuandomailbox_modeesother(si no, a/me) y ejecuta segúnoperation(por defectosend). sendexigetoysubject, separato,ccybccpor comas y publicasendMailcon cuerpo HTML o de texto (content_type).replyusacustom_message_idcuandoreply_targetescustom; si no, eliddel ítem de entrada y luegomessage_id. Sin sobrescrituras publica/replyconbodycomo comentario. Conto,cc,bccoinclude_quoted_original: falsecrea un borrador de respuesta, define destinatarios y cuerpo (tu texto, luego<hr/>y luego el original citado, salvo que desactives la cita) y lo envía.forwardexigemessage_idyto. Sin sobrescrituras publica/forward. Conforward_subject,forward_importance,timezone,language,ccobcccrea un borrador de reenvío (enviandoPrefer: outlook.timezoneyAccept-Languagepara el encabezado citado), lo modifica, lo envía y devuelve suconversation_ideinternet_message_id(del borrador, o de hasta 5 búsquedas en Elementos enviados con 1,5 s de intervalo).getdevuelve el mensaje de Graph demessage_id;listdevuelve hastalimitmensajes defolder, del más reciente al más antiguo, con el filtro ODatafilteropcional;deleteeliminamessage_id;get_attachmentsdevuelve los adjuntos deliddel ítem de entrada (o demessage_id).
En un workflow
El nodo tal como aparece en un archivo de workflow (draft_nodes[]) y el envelope de una ejecución exitosa.
{
"node_id": "node-confirm-order",
"label": "Send confirmation",
"operator_slug": "connectors.microsoft.outlook.mail",
"operator_version": "1.0.0",
"config": {
"connection_id": "pi-credential-xxxx",
"mailbox_mode": "other",
"mailbox_email": "[email protected]",
"operation": "send",
"to": "{{ $json.customer_email }}",
"subject": "Order {{ $json.order_id }} received",
"body": "<p>Thanks, we received your order.</p>",
"content_type": "html"
}
}{
"ok": true,
"data": {
"result": {
"sent": true,
"status": 202
},
"operation": "send"
},
"port": "out"
}Configuración
-
connection_idstring Obligatorio -
Credencial de acceso a Microsoft Graph API. Acepta credenciales de tipo `oauth2` (token de acceso + token de actualización), `service-account` (tenant id + client id + client secret) u `object` (configuración avanzada de Graph).
-
mailbox_modestring Opcional -
Token owner: usa el buzón de la cuenta que generó la credencial. Other mailbox: indica una dirección de correo (requiere permisos de aplicación en Azure AD).
-
mailbox_emailstring Opcional Acepta expresiones -
Dirección del buzón sobre el que se opera (p. ej., [email protected]).
-
operationstring Obligatorio -
La operación de correo que se realiza.
-
tostring Opcional Acepta expresiones -
Correos separados por comas que reemplazan al destinatario predeterminado de la respuesta (que Graph fija en el remitente original). Úsalo para dirigir la respuesta, por ejemplo, al buzón del juzgado en lugar de a la persona natural que reenvió el caso. Activa el flujo enriquecido de 4 llamadas.
-
ccstring Opcional Acepta expresiones -
Correos separados por comas que reciben una copia visible de la respuesta.
-
bccstring Opcional Acepta expresiones -
Correos separados por comas que reciben una copia oculta de la respuesta. Activa el flujo enriquecido de 4 llamadas (createReply → PATCH → send) y conserva la cita del mensaje original.
-
subjectstring Opcional Acepta expresiones -
Asunto del correo.
-
bodystring Opcional Acepta expresiones -
Contenido del cuerpo del correo. Admite HTML.
-
content_typestring Opcional -
Si el cuerpo es texto plano o HTML.
-
reply_targetstring Opcional -
Incoming message: responde automáticamente al correo recibido del nodo anterior. Custom: indica un ID de mensaje manualmente.
-
custom_message_idstring Opcional Acepta expresiones -
El ID del correo al que se responde.
-
message_idstring Opcional Acepta expresiones -
El ID del mensaje de correo.
-
forward_subjectstring Opcional Acepta expresiones -
Asunto personalizado del mensaje reenviado. Si está vacío, Outlook antepone "FW: " al asunto original (comportamiento predeterminado de Graph).
-
forward_importancestring Opcional -
Marca de importancia del mensaje reenviado. Ponla en "high" para marcarlo como urgente. Vacío = predeterminada (normal).
-
timezonestring Opcional -
Nombre opcional de zona horaria de Windows que se usa para la hora que aparece en el encabezado citado del mensaje reenviado (p. ej., "SA Pacific Standard Time" para Colombia). Vacío = UTC (comportamiento predeterminado de Graph).
-
languagestring Opcional -
Etiqueta de idioma opcional para los rótulos del encabezado citado del mensaje reenviado (p. ej., "es-CO" muestra De / Enviado / Para / Asunto). Vacío = inglés (comportamiento predeterminado de Graph). Los nombres de los días y los meses se mantienen en inglés.
-
folderstring Opcional -
La carpeta de correo de la que se listan los mensajes.
-
limitnumber Opcional -
Número máximo de mensajes que se devuelven.
-
filterstring Opcional Acepta expresiones -
Expresión de filtro OData (p. ej., "isRead eq false").
Su configuración muestra los ajustes de ejecución compartidos, pero este nodo aún no aplica reintentos (retryOnFail, maxTries). Ningún nodo aplica continueOnFail.
Comportamiento en el código
Lo que hace la implementación con estas claves más allá de lo que dice el esquema.
-
to to,ccybccestán declarados dos veces en la definición y gana la segunda declaración (sobrescrituras de respuesta), por lo que el formulario solo los muestra enreply. Aun así, el worker también leeto,ccybccensendy enforward.-
include_quoted_originalLa lee el código, no está declarada - No declarado. Por defecto
true. Confalse,replyenvía solobodycomo HTML, sin el original citado por Graph. -
content_type - Solo lo usa
send. Las respuestas y reenvíos conservan el tipo de contenido del borrador de Graph. -
attachment_filterLa lee el código, no está declarada - No declarado (alias
filter_content_type). Enget_attachmentsconserva los adjuntos cuyo tipo de contenido empieza por este valor, sin distinguir mayúsculas. -
timezone - Solo para reenvío: nombre de zona horaria de Windows para la hora del encabezado citado.
language(una etiqueta de idioma comoes-ES) define sus rótulos. Cualquiera de los dos obliga a usar el reenvío por borrador.
Puertos de salida
out por defecto La operación tuvo éxito. La salida es { result, operation }, salvo get_attachments, que devuelve { attachments, count } y además attachment cuando hay exactamente uno.
{
"result": {
"sent": true,
"status": 202
},
"operation": "send"
}error Falló una validación (la salida es el sobre { ok, errors, port }) o falló una llamada a Graph (la salida es { error, response } con el cuerpo de error de Graph).
{
"ok": false,
"errors": [
"Recipient (to) is required for send operation"
],
"port": "error"
}En expresiones
Lo que un nodo posterior puede leer de la salida de este nodo con $("Outlook - Mail").item.json.<ruta> (escribe la etiqueta de tu nodo en lugar de Outlook - Mail). Editor marca las rutas que sugiere el editor de workflows en Previous Nodes (el contrato de salida); Worker marca las rutas que el worker devuelve de verdad por out, según la salida que muestra Puertos.
| Expresión | Editor | Worker |
|---|---|---|
$("Outlook - Mail").item.json.resultResultado de la operación devuelto por Microsoft Graph API. | ||
$("Outlook - Mail").item.json.operationLa operación que se realizó. | ||
$("Outlook - Mail").item.json.result.sent | — | |
$("Outlook - Mail").item.json.result.status | — |
— Worker: El worker la devuelve pero el editor no la sugiere: escríbela a mano. Las claves dentro de objetos pueden depender de tus datos o de la configuración (por ejemplo, una clave por etiqueta).
Errores
| Mensaje | Puerto | Causa y solución |
|---|---|---|
Microsoft 365 credential is required | error | connection_id está vacío. |
Failed to resolve Microsoft 365 access token | error | No se pudo resolver la credencial, falló la solicitud del token o el secreto no tiene ni client credentials ni token. |
Unknown operation: <operation> | error | operation no es send, reply, get, list, delete, forward ni get_attachments. |
Recipient (to) is required for <send|forward> operation | error | to está vacío. Subject is required for send operation es la validación equivalente para subject. |
Message ID is required for <get|delete|forward> operation | error | message_id está vacío. Reply y get_attachments devuelven una variante más larga que menciona el nodo anterior. |
createReply did not return a draft message id | error | Graph no creó el borrador de respuesta. createForward did not return a draft message id es el equivalente para el reenvío. |
Request failed with status code <status> | error | Graph rechazó la llamada (mensaje inexistente, filtro OData inválido, falta el permiso Mail.Send / Mail.ReadWrite, token vencido). Revisa response para ver el error de Graph. |
Contrato de entrada
-
connection_idstring Obligatorio -
operationstring Obligatorio -
tostring Opcional -
subjectstring Opcional -
bodystring Opcional -
message_idstring Opcional
Contrato de salida
-
resultobject Opcional -
Resultado de la operación devuelto por Microsoft Graph API.
-
operationstring Opcional -
La operación que se realizó.
Contratos (JSON Schema)
La definición exactamente como la declara el orquestador. All es el *.definition.js completo; compáralo con las secciones de arriba para ver diferencias entre la documentación y el esquema. Úsala para validar un nodo antes de publicar.
{
"slug": "connectors.microsoft.outlook.mail",
"name": "Outlook - Mail",
"category": "integrations",
"version": "1.0.0",
"description": "Send, read, and manage emails through Microsoft Outlook via the Microsoft Graph API.\n\n Connect your Microsoft 365 account and automate email operations — send notifications, process incoming mail, manage drafts, and more.\n\n **Operations:**\n - **Send:** Compose and send a new email with recipients, subject, body, and optional attachments.\n - **Reply:** Reply to an existing email by message ID.\n - **Get:** Retrieve a specific email by message ID.\n - **List:** List emails from a folder with optional filtering.\n - **Delete:** Delete an email by message ID.\n - **Forward:** Forward an email to new recipients.",
"capabilities": [
"email",
"microsoft",
"outlook",
"office365",
"graph-api"
],
"group": [
{
"key": "microsoft",
"name": "Microsoft",
"icon_url": "/icons/integrations/microsoft/microsoft.svg"
},
{
"key": "microsoft365",
"name": "Microsoft 365",
"icon_url": "/icons/integrations/microsoft/microsoft365.svg"
}
],
"icon_url": "/icons/integrations/microsoft/outlook.svg",
"config_schema": {
"type": "object",
"properties": {
"connection_id": {
"type": "string",
"title": "Microsoft 365 Credential",
"description": "Credential for Microsoft Graph API access. Accepts credentials of type `oauth2` (access + refresh token), `service-account` (tenant id + client id + client secret), or `object` (advanced Graph config).",
"ui_widget": "connection_picker",
"ui_options": {
"credential_types": [
"oauth2",
"service-account",
"object"
],
"types": [
"outlook",
"microsoft365",
"oauth2"
]
}
},
"mailbox_mode": {
"type": "string",
"title": "Mailbox",
"enum": [
"token_owner",
"other"
],
"default": "token_owner",
"description": "Token owner: uses the mailbox of the account that generated the credential. Other mailbox: specify an email address (requires Application permissions in Azure AD)."
},
"mailbox_email": {
"type": "string",
"title": "Mailbox Email",
"description": "Email address of the mailbox to operate on (e.g., [email protected]).",
"format": "expression",
"displayOptions": {
"show": {
"mailbox_mode": [
"other"
]
}
}
},
"operation": {
"type": "string",
"title": "Operation",
"enum": [
"send",
"reply",
"get",
"list",
"delete",
"forward",
"get_attachments"
],
"default": "send",
"description": "The email operation to perform."
},
"to": {
"type": "string",
"title": "To (Reply override)",
"description": "Comma-separated emails to override the default reply recipient (which Graph sets to the original sender). Use to route the reply to e.g. the court mailbox instead of the natural-person who forwarded the case. Triggers enriched 4-call flow.",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"reply"
]
}
}
},
"cc": {
"type": "string",
"title": "CC (Reply)",
"description": "Comma-separated emails to receive a visible copy of the reply.",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"reply"
]
}
}
},
"bcc": {
"type": "string",
"title": "BCC (Reply)",
"description": "Comma-separated emails to receive a blind copy of the reply. Triggers enriched 4-call flow (createReply → PATCH → send) and preserves the original message quote.",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"reply"
]
}
}
},
"subject": {
"type": "string",
"title": "Subject",
"description": "Email subject line.",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"send"
]
}
}
},
"body": {
"type": "string",
"title": "Body",
"description": "Email body content. Supports HTML.",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"send",
"reply"
]
}
}
},
"content_type": {
"type": "string",
"title": "Content Type",
"enum": [
"text",
"html"
],
"default": "html",
"description": "Whether the body is plain text or HTML.",
"displayOptions": {
"show": {
"operation": [
"send",
"reply"
]
}
}
},
"reply_target": {
"type": "string",
"title": "Reply To",
"enum": [
"incoming",
"custom"
],
"default": "incoming",
"description": "Incoming message: automatically replies to the email received from the previous node. Custom: specify a message ID manually.",
"displayOptions": {
"show": {
"operation": [
"reply"
]
}
}
},
"custom_message_id": {
"type": "string",
"title": "Message ID",
"description": "The ID of the email to reply to.",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"reply"
],
"reply_target": [
"custom"
]
}
}
},
"message_id": {
"type": "string",
"title": "Message ID",
"description": "The ID of the email message.",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"get",
"delete",
"forward"
]
}
}
},
"forward_subject": {
"type": "string",
"title": "Forward Subject (override)",
"description": "Custom subject for the forwarded message. If empty, Outlook prefixes \"FW: \" to the original subject (default Graph behavior).",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"forward"
]
}
}
},
"forward_importance": {
"type": "string",
"title": "Forward Importance",
"enum": [
"",
"low",
"normal",
"high"
],
"default": "",
"description": "Importance flag for the forwarded message. Set to \"high\" to mark as urgent. Empty = default (normal).",
"displayOptions": {
"show": {
"operation": [
"forward"
]
}
}
},
"timezone": {
"type": "string",
"title": "Forward Time Zone",
"description": "Optional Windows time zone name used for the time shown in the quoted header of the forwarded message (e.g. \"SA Pacific Standard Time\" for Colombia). Empty = UTC (default Graph behavior).",
"default": "",
"displayOptions": {
"show": {
"operation": [
"forward"
]
}
}
},
"language": {
"type": "string",
"title": "Forward Language",
"description": "Optional language tag for the labels of the quoted header of the forwarded message (e.g. \"es-CO\" shows De / Enviado / Para / Asunto). Empty = English (default Graph behavior). Day and month names stay in English.",
"default": "",
"displayOptions": {
"show": {
"operation": [
"forward"
]
}
}
},
"folder": {
"type": "string",
"title": "Folder",
"enum": [
"inbox",
"sentitems",
"drafts",
"deleteditems",
"junkemail",
"archive"
],
"default": "inbox",
"description": "The mail folder to list messages from.",
"displayOptions": {
"show": {
"operation": [
"list"
]
}
}
},
"limit": {
"type": "number",
"title": "Limit",
"default": 10,
"description": "Maximum number of messages to return.",
"displayOptions": {
"show": {
"operation": [
"list"
]
}
}
},
"filter": {
"type": "string",
"title": "Filter",
"description": "OData filter expression (e.g., \"isRead eq false\").",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"list"
]
}
}
},
"execution": {
"type": "object",
"title": "Execution Settings",
"properties": {
"alwaysOutputData": {
"type": "boolean",
"title": "Always Output Data",
"description": "Always output data, even on error (if configured).",
"default": false
},
"retryOnFail": {
"type": "boolean",
"title": "Retry On Fail",
"description": "Retry the execution if it fails.",
"default": false
},
"maxTries": {
"type": "integer",
"title": "Max Retries",
"description": "Number of retries.",
"default": 3,
"displayOptions": {
"show": {
"retryOnFail": [
true
]
}
}
},
"waitBetweenTries": {
"type": "integer",
"title": "Wait Between Retries (ms)",
"default": 1000,
"displayOptions": {
"show": {
"retryOnFail": [
true
]
}
}
},
"continueOnFail": {
"type": "boolean",
"title": "Continue On Fail",
"description": "Do not crash workflow on error.",
"default": false
},
"timeout_ms": {
"type": "integer",
"title": "Timeout (ms)",
"description": "Max execution time for this node before it is killed, in milliseconds. Honored by long-running operators (e.g. OCR/extraction, inline code). Default 300000 (5 min).",
"default": 300000
}
}
}
},
"required": [
"connection_id",
"operation"
]
},
"input_contract_schema": {
"type": "object",
"properties": {
"connection_id": {
"type": "string"
},
"operation": {
"type": "string"
},
"to": {
"type": "string"
},
"subject": {
"type": "string"
},
"body": {
"type": "string"
},
"message_id": {
"type": "string"
}
},
"required": [
"connection_id",
"operation"
]
},
"output_contract_schema": {
"type": "object",
"properties": {
"result": {
"type": "object",
"description": "Operation result from Microsoft Graph API."
},
"operation": {
"type": "string",
"description": "The operation that was performed."
}
}
},
"ports": [
{
"port_id": "out",
"label": "Success",
"description": "Operation completed successfully.",
"is_default": true,
"supports_condition": true
},
{
"port_id": "error",
"label": "Error",
"description": "Operation failed (auth error, invalid message ID, API error).",
"is_default": false,
"supports_condition": true
}
],
"execution_mode": "async",
"required_resources": [],
"compatible_worker_pools": [
"standard-io",
"cloud-io"
],
"tags": [
"email",
"microsoft",
"outlook",
"office365",
"send",
"connector"
],
"is_stateful": false,
"publisher": {
"identity": "org_sommatic_ai",
"profile": {
"name": "Sommatic AI",
"verified": true,
"url": "https://me.veripass.com/sommatic",
"logo_url": null
}
}
}{
"type": "object",
"properties": {
"connection_id": {
"type": "string",
"title": "Microsoft 365 Credential",
"description": "Credential for Microsoft Graph API access. Accepts credentials of type `oauth2` (access + refresh token), `service-account` (tenant id + client id + client secret), or `object` (advanced Graph config).",
"ui_widget": "connection_picker",
"ui_options": {
"credential_types": [
"oauth2",
"service-account",
"object"
],
"types": [
"outlook",
"microsoft365",
"oauth2"
]
}
},
"mailbox_mode": {
"type": "string",
"title": "Mailbox",
"enum": [
"token_owner",
"other"
],
"default": "token_owner",
"description": "Token owner: uses the mailbox of the account that generated the credential. Other mailbox: specify an email address (requires Application permissions in Azure AD)."
},
"mailbox_email": {
"type": "string",
"title": "Mailbox Email",
"description": "Email address of the mailbox to operate on (e.g., [email protected]).",
"format": "expression",
"displayOptions": {
"show": {
"mailbox_mode": [
"other"
]
}
}
},
"operation": {
"type": "string",
"title": "Operation",
"enum": [
"send",
"reply",
"get",
"list",
"delete",
"forward",
"get_attachments"
],
"default": "send",
"description": "The email operation to perform."
},
"to": {
"type": "string",
"title": "To (Reply override)",
"description": "Comma-separated emails to override the default reply recipient (which Graph sets to the original sender). Use to route the reply to e.g. the court mailbox instead of the natural-person who forwarded the case. Triggers enriched 4-call flow.",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"reply"
]
}
}
},
"cc": {
"type": "string",
"title": "CC (Reply)",
"description": "Comma-separated emails to receive a visible copy of the reply.",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"reply"
]
}
}
},
"bcc": {
"type": "string",
"title": "BCC (Reply)",
"description": "Comma-separated emails to receive a blind copy of the reply. Triggers enriched 4-call flow (createReply → PATCH → send) and preserves the original message quote.",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"reply"
]
}
}
},
"subject": {
"type": "string",
"title": "Subject",
"description": "Email subject line.",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"send"
]
}
}
},
"body": {
"type": "string",
"title": "Body",
"description": "Email body content. Supports HTML.",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"send",
"reply"
]
}
}
},
"content_type": {
"type": "string",
"title": "Content Type",
"enum": [
"text",
"html"
],
"default": "html",
"description": "Whether the body is plain text or HTML.",
"displayOptions": {
"show": {
"operation": [
"send",
"reply"
]
}
}
},
"reply_target": {
"type": "string",
"title": "Reply To",
"enum": [
"incoming",
"custom"
],
"default": "incoming",
"description": "Incoming message: automatically replies to the email received from the previous node. Custom: specify a message ID manually.",
"displayOptions": {
"show": {
"operation": [
"reply"
]
}
}
},
"custom_message_id": {
"type": "string",
"title": "Message ID",
"description": "The ID of the email to reply to.",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"reply"
],
"reply_target": [
"custom"
]
}
}
},
"message_id": {
"type": "string",
"title": "Message ID",
"description": "The ID of the email message.",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"get",
"delete",
"forward"
]
}
}
},
"forward_subject": {
"type": "string",
"title": "Forward Subject (override)",
"description": "Custom subject for the forwarded message. If empty, Outlook prefixes \"FW: \" to the original subject (default Graph behavior).",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"forward"
]
}
}
},
"forward_importance": {
"type": "string",
"title": "Forward Importance",
"enum": [
"",
"low",
"normal",
"high"
],
"default": "",
"description": "Importance flag for the forwarded message. Set to \"high\" to mark as urgent. Empty = default (normal).",
"displayOptions": {
"show": {
"operation": [
"forward"
]
}
}
},
"timezone": {
"type": "string",
"title": "Forward Time Zone",
"description": "Optional Windows time zone name used for the time shown in the quoted header of the forwarded message (e.g. \"SA Pacific Standard Time\" for Colombia). Empty = UTC (default Graph behavior).",
"default": "",
"displayOptions": {
"show": {
"operation": [
"forward"
]
}
}
},
"language": {
"type": "string",
"title": "Forward Language",
"description": "Optional language tag for the labels of the quoted header of the forwarded message (e.g. \"es-CO\" shows De / Enviado / Para / Asunto). Empty = English (default Graph behavior). Day and month names stay in English.",
"default": "",
"displayOptions": {
"show": {
"operation": [
"forward"
]
}
}
},
"folder": {
"type": "string",
"title": "Folder",
"enum": [
"inbox",
"sentitems",
"drafts",
"deleteditems",
"junkemail",
"archive"
],
"default": "inbox",
"description": "The mail folder to list messages from.",
"displayOptions": {
"show": {
"operation": [
"list"
]
}
}
},
"limit": {
"type": "number",
"title": "Limit",
"default": 10,
"description": "Maximum number of messages to return.",
"displayOptions": {
"show": {
"operation": [
"list"
]
}
}
},
"filter": {
"type": "string",
"title": "Filter",
"description": "OData filter expression (e.g., \"isRead eq false\").",
"format": "expression",
"displayOptions": {
"show": {
"operation": [
"list"
]
}
}
},
"execution": {
"type": "object",
"title": "Execution Settings",
"properties": {
"alwaysOutputData": {
"type": "boolean",
"title": "Always Output Data",
"description": "Always output data, even on error (if configured).",
"default": false
},
"retryOnFail": {
"type": "boolean",
"title": "Retry On Fail",
"description": "Retry the execution if it fails.",
"default": false
},
"maxTries": {
"type": "integer",
"title": "Max Retries",
"description": "Number of retries.",
"default": 3,
"displayOptions": {
"show": {
"retryOnFail": [
true
]
}
}
},
"waitBetweenTries": {
"type": "integer",
"title": "Wait Between Retries (ms)",
"default": 1000,
"displayOptions": {
"show": {
"retryOnFail": [
true
]
}
}
},
"continueOnFail": {
"type": "boolean",
"title": "Continue On Fail",
"description": "Do not crash workflow on error.",
"default": false
},
"timeout_ms": {
"type": "integer",
"title": "Timeout (ms)",
"description": "Max execution time for this node before it is killed, in milliseconds. Honored by long-running operators (e.g. OCR/extraction, inline code). Default 300000 (5 min).",
"default": 300000
}
}
}
},
"required": [
"connection_id",
"operation"
]
}{
"type": "object",
"properties": {
"connection_id": {
"type": "string"
},
"operation": {
"type": "string"
},
"to": {
"type": "string"
},
"subject": {
"type": "string"
},
"body": {
"type": "string"
},
"message_id": {
"type": "string"
}
},
"required": [
"connection_id",
"operation"
]
}{
"type": "object",
"properties": {
"result": {
"type": "object",
"description": "Operation result from Microsoft Graph API."
},
"operation": {
"type": "string",
"description": "The operation that was performed."
}
}
}[
{
"port_id": "out",
"label": "Success",
"description": "Operation completed successfully.",
"is_default": true,
"supports_condition": true
},
{
"port_id": "error",
"label": "Error",
"description": "Operation failed (auth error, invalid message ID, API error).",
"is_default": false,
"supports_condition": true
}
]Ejecución
- Ejecución
async- Con estado
- No
- Reintentos (
retryOnFail) - No
- Credenciales
- Se resuelven en el servidor a partir de
connection_id; el secreto nunca llega al workflow. - Capacidades
emailmicrosoftoutlookoffice365graph-api- Etiquetas
emailmicrosoftoutlookoffice365sendconnector
Notas y límites
listyget_attachmentsleen una sola página de Graph;get_attachmentsincluyecontentBytesen base64 de cada adjunto.- Las operaciones de envío no son idempotentes y el nodo no las reintenta; volver a ejecutar un workflow fallido puede enviar un mensaje dos veces.
- Un token de acceso OAuth guardado en la credencial nunca se renueva. Los tokens de aplicación necesitan
mailbox_mode: other, porque no tienen/me. - Las respuestas y reenvíos por borrador devuelven
draft_id,conversation_ideinternet_message_id, queconnectors.microsoft.outlook.message.categorypuede usar para etiquetar la copia enviada.
Revisado contra el código del orquestador · 31e874b · 2026-11-26