Send Emails using your Office 365 subscription.

Parameters:

Parameters:
This action sends email through Microsoft 365 / Exchange Online using the Microsoft Graph API. It supports To / Cc / Bcc, HTML or plain-text body, attachments, and inline images (CID). It is designed for high-volume, automated sends inside your ETL pipelines.
no-reply@… or a service account).A Microsoft 365 tenant and access to the Azure portal.
Permission to create App registrations and grant admin consent for Graph.
A mailbox to send from (shared mailbox or service account).
Tip: Many teams use a shared mailbox such as
no-reply@yourdomain.com.
You’ll create an Azure App Registration and map its credentials into the action.
ETL SendMail (Graph)), keep “Single tenant”. Leave Redirect URI empty.By default, Mail.Send (Application) can send as any mailbox. To lock it down:
no-reply@yourdomain.com).Test-ApplicationAccessPolicy in Exchange Online PowerShell.Your tenant admin can do this once; the policy protects all pipelines that use this app.
Application ID
Paste the Application (client) ID from your App registration.
Azure Unlock Key
Paste the Client Secret Value you created. (Not the Secret ID.)
Optional: extra parameters for cURL
Rarely needed; allows low-level tweaks (e.g., HTTP proxy flags).
Number of retries on connection error
How many automatic retries to perform when the HTTP call fails transiently.
To / Cc / Bcc
Subject
Free text or bound column.
Message
The message body.
<b>…</b>, lists, tables, etc.Message in HTML format (toggle)
Attachments
Attachment’s CID (for inline images)
Provide a CID value per attachment if you want it embedded inline.
In your HTML body, reference it as:
<img src="cid:myLogoCid" alt="Logo" />
If a CID is not provided, the file is attached normally.
Attachment placement mode (drop-down)
Controls how the action treats attachments relative to the HTML body:
Inline images recipe:
- Add the image file to Attachments.
- Put a unique ID (e.g.,
logo1) into Attachment’s CID.- Turn Message in HTML format ON and insert
<img src="cid:logo1">in the body.
Error Management
Write all rows
Upstream step produces rows like:
toEmail,subject,htmlBody,attachmentPath,cid
alice@contoso.com,Report A,<p>Hello</p>,/tmp/a.png,logo
bob@contoso.com,Report B,<p>Hi</p>,/tmp/b.png,logo
Map:
toEmailsubjecthtmlBody (toggle HTML = ON)attachmentPathcidAdvanced → Write all rows = ON.
ops@contoso.com; audit@contoso.com).no-reply@…) instead of a person’s mailbox.403 / insufficient privileges
401 / invalid_client
Mailbox not found / cannot send as
Inline image not showing
cid:<value> exactly match the Attachment’s CID.