Connectors
...
Actions
Send Email
5 min
description send a custom email to a specified address using microsoft graph api, with required recipient's email and message content endpoint url /v1 0/users/{{email address}}/sendmail method post inputs path parameters (object) – required path parameters email address (string) – required the account associated with the email json body (object) – required json body savetosentitems (boolean) indicates whether to save the message in sent items specify it only if the parameter is false; default is true optional message (object) – required the message to send subject (string) the subject of the email body (object) the body of the message it can be in html or text format content (string) the content of the item contenttype (string) the type of the content possible values are text and html replyto (array) the email addresses to use when replying emailaddress (object) – required address (string) – required name (string) torecipients (array) – required the list of direct recipient objects emailaddress (object) – required address (string) – required name (string) ccrecipients (array) the list of cc recipient objects emailaddress (object) – required address (string) – required name (string) bccrecipients (array) the list of bcc recipient objects emailaddress (object) – required address (string) – required name (string) attachments (array) items attached to this email contentbytes (string) name (string) @odata type (string) contenttype (string) output example \[ { "status code" 202, "response headers" { "cache control" "private", "strict transport security" "max age=31536000", "request id" "0be49b36 fbe5 428f a8aa 33b238f4525c", "client request id" "0be49b36 fbe5 428f a8aa 33b238f4525c", "x ms ags diagnostic" "{\\"serverinfo\\" {\\"datacenter\\" \\"brazil south\\",\\"slice\\" \\"e\\",\\"ring\\" \\"3\\",\\"scaleunit\\" \\"000\\",\\"roleinstance\\" \\"cp1pepf00002f05\\"}}", "date" "sat, 05 nov 2022 13 08 01 gmt", "content length" "0" }, "reason" "accepted", "response text" "" } ] output parameters status code (number) reason (string) response text (string) response headers header type cache control string strict transport security string request id string client request id string x ms ags diagnostic string date string content length string