Send an Email
Sends an email through Outlook with the specified details and attachments.
Note: This operation is part of the Outlook Book (BDK). To use this book, you need to first learn it in your agent.
Note: It requires the following permissions on the scopes: Mail.ReadWrite, Mail.ReadWrite.Shared, Mail.Send
Input Concepts
Concept | Description | Type | Required |
---|---|---|---|
email | The email to be sent | outlook email | Yes |
recipients | The recipients of the email | text | Yes |
cc recipients | The cc recipients of the email | text | No |
bcc recipients | The bcc recipients of the email | text | No |
attachments | The attachments to be sent with the email | file | No |
user | The user sending the email. Required for client credentials, otherwise, the user is the authenticated user. | office user | No |
Examples
Send an email to the specified recipients
create a json
use the above as the email
set the email's subject to "Meeting Reminder"
set the email's body to "Don't forget the meeting tomorrow at 10:00 AM"
the recipients are "[email protected]", "[email protected]"
send the email to the recipients
Send an email to the specified recipients as a user
use the first user as the user
create a json
use the above as the email
set the email's subject to "Meeting Reminder"
set the email's body to "Don't forget the meeting tomorrow at 10:00 AM"
the recipients are "[email protected]", "[email protected]"
send the email to the recipients
the user is the user
Send an email to the specified recipients with custom cc recipients
create a json
use the above as the email
set the email's subject to "Meeting Reminder"
set the email's body to "Don't forget the meeting tomorrow at 10:00 AM"
the recipients are "[email protected]", "[email protected]"
the cc recipients are "[email protected]", "[email protected]"
send the email to the recipients
the cc recipients is the cc recipients
Send an email to the specified recipients with custom bcc recipients
create a json
use the above as the email
set the email's subject to "Meeting Reminder"
set the email's body to "Don't forget the meeting tomorrow at 10:00 AM"
the recipients are "[email protected]", "[email protected]"
the bcc recipients are "[email protected]", "[email protected]"
send the email to the recipients
the bcc recipients is the bcc recipients
Send an email to the specified recipients with attachments
use the above as the file
use the above as the other file
the attachments are the file, the other file
create a json
use the above as the email
set the email's subject to "Meeting Reminder"
set the email's body to "Don't forget the meeting tomorrow at 10:00 AM"
the recipients are "[email protected]", "[email protected]"
send the email to the recipients
the attachments is the attachments
Updated 25 days ago