LogoLogo
About
  • Home
  • Guides
  • BDK
  • REST API
  • Release Notes
  • HTTP
    • DELETE Request
    • GET Request
    • HEAD Request
    • PATCH Request
    • POST Request
    • PUT Request
  • Microsoft Excel
    • Clear the Worksheet Range
    • Create a Table on a Worksheet Range
    • Create a Worksheet Range in a Sheet
    • Delete a Column from the Table
    • Delete a Row from the Table
    • Get the Cell's Color
    • Get the Cell's Formula
    • Get the Cell's Value
    • Get the Column's Cells from the Table
    • Get the Column Count in a Table
    • Get the Column Count in a Worksheet Range
    • Get the File's Sheets
    • Get the Following Row Range In a Worksheet Range
    • Get the Row's Cells from the Table
    • Get the Row's Cells From the Worksheet Range
    • Get the Row Count in a Table
    • Get the Row Count in a Worksheet Range
    • Get the Sheet's Tables
    • Get the Sheet's Used Range
    • Get the Worksheet Range's Rows
    • Get the Worksheet Range from the Table
    • Insert a New Column in the Table
    • Insert a New Row in the Table
    • Read the Content from a Table
    • Read the Content from a Worksheet Range
    • Retrieve the Columns from the Table
    • Retrieve the Rows from the Table
    • Retrieve the Worksheet Range from a Table
    • Set the Cell's Content to a Value
    • Set the Cell's Formula to a Formula Value
    • Write the Content in a Table
    • Write the Content in a Worksheet Range
  • Microsoft Outlook
    • Delete Emails
    • Download an Attachment
    • Forward an Email
    • Get a User's Events
    • Get an Email's Attachments
    • Get Event's Attachments
    • Get Email Folders for a User
    • Get Email Folders
    • Get Events in Calendar
    • Get Events
    • Get Outlook Emails
    • Mark Emails
    • Move Outlook Emails
    • Reply to an Email
    • Send an Email
  • Microsoft SharePoint
    • Add a Column to a SharePoint List
    • Add an Item to a SharePoint List
    • Copy an Item to a Folder
    • Create a Folder in a Document Library
    • Create a Folder in Another Folder
    • Create a List in a SharePoint Site
    • Delete a Column from a List
    • Delete a List in SharePoint
    • Delete an Item from a List
    • Delete an Item from a Document Library
    • Download a File
    • Edit an Item
    • Get a Folder
    • Get a Folder's Items
    • Get a Root Folder from a Document Library
    • Get a SharePoint List as a Table
    • Get Items from a Document Library
    • Get Items from a SharePoint List
    • Get Document Libraries
    • Get Sites from SharePoint
    • Move an Item to a Folder
    • Rename a Column in a List
    • Rename a SharePoint List
    • Rename a SharePoint Item
    • Retrieve Column Definitions from a SharePoint List
    • Retrieve Lists within a SharePoint Site
    • Upload a File to a SharePoint Document Library
  • OpenWeather
    • Get the Current Temperature
  • Truckmate
    • Create An Order in Truckmate
    • Update An Order in Truckmate
  • Twilio
    • To Read Some SMS Messages
    • To Send an SMS Message
Powered by GitBook
On this page
  • Input Concepts
  • Examples

Was this helpful?

Export as PDF
  1. Microsoft Outlook

Send an Email

Sends an email through Outlook with the specified details and attachments.

This procedure is part of the Microsoft Outlook Book (BDK). To use this book, you must 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

  1. 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 "tomas@ms.kognitos.com", "john@acme.org"
send the email to the recipients
  1. 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 "tomas@ms.kognitos.com", "john@acme.org"
send the email to the recipients
	the user is the user
  1. 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 "tomas@ms.kognitos.com", "john@acme.org"
the cc recipients are "john@doe.com", "jane@doe.org"
send the email to the recipients
	the cc recipients is the cc recipients
  1. 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 "tomas@ms.kognitos.com", "john@acme.org"
the bcc recipients are "john@doe.com", "jane@doe.org"
send the email to the recipients
	the bcc recipients is the bcc recipients
  1. 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 "tomas@ms.kognitos.com", "john@acme.org"
send the email to the recipients
	the attachments is the attachments

Last updated 2 months ago

Was this helpful?