outlook.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Calendars
create
calendars.create
Create a new calendar
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
user_id | string | No | — |
color | string | No | — |
hexColor | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
name | string | No | — |
color | string | No | — |
hexColor | string | No | — |
isDefaultCalendar | boolean | No | — |
canEdit | boolean | No | — |
canShare | boolean | No | — |
canViewPrivateItems | boolean | No | — |
isRemovable | boolean | No | — |
isTallyingResponses | boolean | No | — |
owner | object | No | — |
changeKey | string | No | — |
allowedOnlineMeetingProviders | string[] | No | — |
defaultOnlineMeetingProvider | string | No | — |
owner full type
owner full type
delete
calendars.delete
Delete a calendar [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
calendar_id | string | Yes | — |
user_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | No | — |
get
calendars.get
Get a calendar by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
calendar_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
name | string | No | — |
color | string | No | — |
hexColor | string | No | — |
isDefaultCalendar | boolean | No | — |
canEdit | boolean | No | — |
canShare | boolean | No | — |
canViewPrivateItems | boolean | No | — |
isRemovable | boolean | No | — |
isTallyingResponses | boolean | No | — |
owner | object | No | — |
changeKey | string | No | — |
allowedOnlineMeetingProviders | string[] | No | — |
defaultOnlineMeetingProvider | string | No | — |
owner full type
owner full type
list
calendars.list
List all calendars
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | No | — |
filter | string | No | — |
select | string[] | No | — |
orderby | string[] | No | — |
top | number | No | — |
skip | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | No | — |
@odata.context | string | No | — |
@odata.nextLink | string | No | — |
@odata.deltaLink | string | No | — |
value full type
value full type
Contacts
create
contacts.create
Create a new contact
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | No | — |
givenName | string | No | — |
surname | string | No | — |
displayName | string | No | — |
emailAddresses | object[] | No | — |
mobilePhone | string | No | — |
homePhone | string | No | — |
businessPhones | string[] | No | — |
jobTitle | string | No | — |
companyName | string | No | — |
department | string | No | — |
officeLocation | string | No | — |
birthday | string | No | — |
notes | string | No | — |
categories | string[] | No | — |
emailAddresses full type
emailAddresses full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
displayName | string | No | — |
givenName | string | No | — |
surname | string | No | — |
middleName | string | No | — |
nickName | string | No | — |
emailAddresses | object[] | No | — |
mobilePhone | string | No | — |
homePhones | string[] | No | — |
businessPhones | string[] | No | — |
jobTitle | string | No | — |
companyName | string | No | — |
department | string | No | — |
officeLocation | string | No | — |
birthday | string | No | — |
personalNotes | string | No | — |
parentFolderId | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
changeKey | string | No | — |
categories | string[] | No | — |
emailAddresses full type
emailAddresses full type
delete
contacts.delete
Delete a contact [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
contact_id | string | Yes | — |
user_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | No | — |
list
contacts.list
List contacts
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | No | — |
contact_folder_id | string | No | — |
filter | string | No | — |
select | string[] | No | — |
orderby | string[] | No | — |
top | number | No | — |
skip | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | No | — |
@odata.context | string | No | — |
@odata.nextLink | string | No | — |
value full type
value full type
update
contacts.update
Update a contact
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
contact_id | string | Yes | — |
user_id | string | No | — |
givenName | string | No | — |
surname | string | No | — |
displayName | string | No | — |
emailAddresses | object[] | No | — |
mobilePhone | string | No | — |
homePhones | string[] | No | — |
businessPhones | string[] | No | — |
jobTitle | string | No | — |
companyName | string | No | — |
department | string | No | — |
officeLocation | string | No | — |
birthday | string | No | — |
notes | string | No | — |
categories | string[] | No | — |
emailAddresses full type
emailAddresses full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
displayName | string | No | — |
givenName | string | No | — |
surname | string | No | — |
middleName | string | No | — |
nickName | string | No | — |
emailAddresses | object[] | No | — |
mobilePhone | string | No | — |
homePhones | string[] | No | — |
businessPhones | string[] | No | — |
jobTitle | string | No | — |
companyName | string | No | — |
department | string | No | — |
officeLocation | string | No | — |
birthday | string | No | — |
personalNotes | string | No | — |
parentFolderId | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
changeKey | string | No | — |
categories | string[] | No | — |
emailAddresses full type
emailAddresses full type
Events
cancel
events.cancel
Cancel a calendar event and notify attendees
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
event_id | string | Yes | — |
user_id | string | Yes | — |
calendar_id | string | Yes | — |
Comment | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | — |
message | string | No | — |
user_id | string | No | — |
event_id | string | No | — |
calendar_id | string | No | — |
create
events.create
Create a calendar event
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
subject | string | Yes | — |
start_datetime | string | Yes | — |
end_datetime | string | Yes | — |
time_zone | string | Yes | — |
user_id | string | No | — |
calendar_id | string | No | — |
body | string | No | — |
is_html | boolean | No | — |
location | string | No | — |
attendees_info | object[] | No | — |
is_online_meeting | boolean | No | — |
online_meeting_provider | string | No | — |
show_as | string | No | — |
categories | string[] | No | — |
importance | string | No | — |
attendees_info full type
attendees_info full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
subject | string | No | — |
body | object | No | — |
bodyPreview | string | No | — |
start | object | No | — |
end | object | No | — |
location | object | No | — |
locations | object[] | No | — |
attendees | object[] | No | — |
organizer | object | No | — |
isAllDay | boolean | No | — |
isCancelled | boolean | No | — |
isOrganizer | boolean | No | — |
isDraft | boolean | No | — |
isOnlineMeeting | boolean | No | — |
isReminderOn | boolean | No | — |
showAs | string | No | — |
importance | string | No | — |
sensitivity | string | No | — |
type | string | No | — |
iCalUId | string | No | — |
webLink | string | No | — |
changeKey | string | No | — |
categories | string[] | No | — |
recurrence | object | No | — |
responseStatus | object | No | — |
responseRequested | boolean | No | — |
seriesMasterId | string | No | — |
transactionId | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
onlineMeeting | object | No | — |
onlineMeetingProvider | string | No | — |
onlineMeetingUrl | string | No | — |
reminderMinutesBeforeStart | number | No | — |
allowNewTimeProposals | boolean | No | — |
hasAttachments | boolean | No | — |
hideAttendees | boolean | No | — |
body full type
body full type
start full type
start full type
end full type
end full type
location full type
location full type
locations full type
locations full type
attendees full type
attendees full type
organizer full type
organizer full type
recurrence full type
recurrence full type
responseStatus full type
responseStatus full type
onlineMeeting full type
onlineMeeting full type
decline
events.decline
Decline a calendar event invitation
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
event_id | string | Yes | — |
comment | string | No | — |
user_id | string | No | — |
sendResponse | boolean | No | — |
proposedNewTime | object | No | — |
proposedNewTime full type
proposedNewTime full type
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | — |
message | string | No | — |
delete
events.delete
Delete a calendar event [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
event_id | string | Yes | — |
user_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | No | — |
findMeetingTimes
events.findMeetingTimes
Find available meeting times for attendees
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | No | — |
attendees | object[] | No | — |
timeConstraint | object | No | — |
locationConstraint | object | No | — |
meetingDuration | string | No | — |
maxCandidates | number | No | — |
isOrganizerOptional | boolean | No | — |
returnSuggestionReasons | boolean | No | — |
minimumAttendeePercentage | number | No | — |
prefer_timezone | string | No | — |
attendees full type
attendees full type
timeConstraint full type
timeConstraint full type
locationConstraint full type
locationConstraint full type
| Name | Type | Required | Description |
|---|---|---|---|
@odata.context | string | No | — |
meetingTimeSuggestions | object[] | No | — |
emptySuggestionsReason | string | No | — |
meetingTimeSuggestions full type
meetingTimeSuggestions full type
get
events.get
Get a calendar event by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
event_id | string | Yes | — |
user_id | string | No | — |
calendar_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
subject | string | No | — |
body | object | No | — |
bodyPreview | string | No | — |
start | object | No | — |
end | object | No | — |
location | object | No | — |
locations | object[] | No | — |
attendees | object[] | No | — |
organizer | object | No | — |
isAllDay | boolean | No | — |
isCancelled | boolean | No | — |
isOrganizer | boolean | No | — |
isDraft | boolean | No | — |
isOnlineMeeting | boolean | No | — |
isReminderOn | boolean | No | — |
showAs | string | No | — |
importance | string | No | — |
sensitivity | string | No | — |
type | string | No | — |
iCalUId | string | No | — |
webLink | string | No | — |
changeKey | string | No | — |
categories | string[] | No | — |
recurrence | object | No | — |
responseStatus | object | No | — |
responseRequested | boolean | No | — |
seriesMasterId | string | No | — |
transactionId | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
onlineMeeting | object | No | — |
onlineMeetingProvider | string | No | — |
onlineMeetingUrl | string | No | — |
reminderMinutesBeforeStart | number | No | — |
allowNewTimeProposals | boolean | No | — |
hasAttachments | boolean | No | — |
hideAttendees | boolean | No | — |
body full type
body full type
start full type
start full type
end full type
end full type
location full type
location full type
locations full type
locations full type
attendees full type
attendees full type
organizer full type
organizer full type
recurrence full type
recurrence full type
responseStatus full type
responseStatus full type
onlineMeeting full type
onlineMeeting full type
getSchedule
events.getSchedule
Get free/busy schedule for a calendar
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
calendar_id | string | Yes | — |
schedules | string[] | Yes | — |
startTime | object | Yes | — |
endTime | object | Yes | — |
availabilityViewInterval | number | No | — |
startTime full type
startTime full type
endTime full type
endTime full type
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | No | — |
@odata.context | string | No | — |
value full type
value full type
list
events.list
List calendar events
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | No | — |
calendar_id | string | No | — |
filter | string | No | — |
select | string[] | No | — |
orderby | string[] | No | — |
top | number | No | — |
skip | number | No | — |
timezone | string | No | — |
expand_recurring_events | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | No | — |
@odata.context | string | No | — |
@odata.nextLink | string | No | — |
value full type
value full type
update
events.update
Update a calendar event
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
event_id | string | Yes | — |
user_id | string | No | — |
subject | string | No | — |
body | object | No | — |
start_datetime | string | No | — |
end_datetime | string | No | — |
time_zone | string | No | — |
location | string | No | — |
attendees | object[] | No | — |
show_as | string | No | — |
categories | string[] | No | — |
body full type
body full type
attendees full type
attendees full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
subject | string | No | — |
body | object | No | — |
bodyPreview | string | No | — |
start | object | No | — |
end | object | No | — |
location | object | No | — |
locations | object[] | No | — |
attendees | object[] | No | — |
organizer | object | No | — |
isAllDay | boolean | No | — |
isCancelled | boolean | No | — |
isOrganizer | boolean | No | — |
isDraft | boolean | No | — |
isOnlineMeeting | boolean | No | — |
isReminderOn | boolean | No | — |
showAs | string | No | — |
importance | string | No | — |
sensitivity | string | No | — |
type | string | No | — |
iCalUId | string | No | — |
webLink | string | No | — |
changeKey | string | No | — |
categories | string[] | No | — |
recurrence | object | No | — |
responseStatus | object | No | — |
responseRequested | boolean | No | — |
seriesMasterId | string | No | — |
transactionId | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
onlineMeeting | object | No | — |
onlineMeetingProvider | string | No | — |
onlineMeetingUrl | string | No | — |
reminderMinutesBeforeStart | number | No | — |
allowNewTimeProposals | boolean | No | — |
hasAttachments | boolean | No | — |
hideAttendees | boolean | No | — |
body full type
body full type
start full type
start full type
end full type
end full type
location full type
location full type
locations full type
locations full type
attendees full type
attendees full type
organizer full type
organizer full type
recurrence full type
recurrence full type
responseStatus full type
responseStatus full type
onlineMeeting full type
onlineMeeting full type
Folders
create
folders.create
Create a new mail folder
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
displayName | string | Yes | — |
user_id | string | No | — |
isHidden | boolean | No | — |
return_existing_if_exists | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
displayName | string | No | — |
parentFolderId | string | No | — |
totalItemCount | number | No | — |
unreadItemCount | number | No | — |
childFolderCount | number | No | — |
isHidden | boolean | No | — |
sizeInBytes | number | No | — |
delete
folders.delete
Delete a mail folder [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
folder_id | string | Yes | — |
user_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | No | — |
get
folders.get
Get a mail folder by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
mail_folder_id | string | Yes | — |
user_id | string | No | — |
select | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
displayName | string | No | — |
parentFolderId | string | No | — |
totalItemCount | number | No | — |
unreadItemCount | number | No | — |
childFolderCount | number | No | — |
isHidden | boolean | No | — |
sizeInBytes | number | No | — |
list
folders.list
List mail folders
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | No | — |
filter | string | No | — |
select | string | No | — |
orderby | string | No | — |
top | number | No | — |
skip | number | No | — |
count | boolean | No | — |
include_hidden_folders | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | No | — |
@odata.count | number | No | — |
@odata.context | string | No | — |
@odata.nextLink | string | No | — |
value full type
value full type
update
folders.update
Rename a mail folder
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
mail_folder_id | string | Yes | — |
displayName | string | Yes | — |
user_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
displayName | string | No | — |
parentFolderId | string | No | — |
totalItemCount | number | No | — |
unreadItemCount | number | No | — |
childFolderCount | number | No | — |
isHidden | boolean | No | — |
sizeInBytes | number | No | — |
Messages
addAttachment
messages.addAttachment
Add an attachment to a message
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
message_id | string | Yes | — |
name | string | No | — |
user_id | string | No | — |
odata_type | string | No | — |
contentBytes | string | No | — |
contentType | string | No | — |
contentId | string | No | — |
contentLocation | string | No | — |
isInline | boolean | No | — |
item | object | No | — |
attachment | object | No | — |
item full type
item full type
attachment full type
attachment full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
name | string | No | — |
contentType | string | No | — |
size | number | No | — |
isInline | boolean | No | — |
lastModifiedDateTime | string | No | — |
@odata.type | string | No | — |
contentBytes | string | No | — |
contentId | string | No | — |
contentLocation | string | No | — |
batchMove
messages.batchMove
Batch move up to 20 messages to a folder
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
message_ids | string[] | Yes | — |
destination_id | string | Yes | — |
user_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
total_requested | number | Yes | — |
total_succeeded | number | Yes | — |
total_failed | number | Yes | — |
results | object[] | Yes | — |
results full type
results full type
batchUpdate
messages.batchUpdate
Batch update up to 20 messages
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
updates | object[] | Yes | — |
user_id | string | No | — |
updates full type
updates full type
| Name | Type | Required | Description |
|---|---|---|---|
total_requested | number | Yes | — |
total_succeeded | number | Yes | — |
total_failed | number | Yes | — |
results | object[] | Yes | — |
results full type
results full type
createDraft
messages.createDraft
Create an email draft
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
subject | string | Yes | — |
body | string | Yes | — |
is_html | boolean | No | — |
to_recipients | string[] | No | — |
cc_recipients | string[] | No | — |
bcc_recipients | string[] | No | — |
attachment | object | No | — |
attachment full type
attachment full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
subject | string | No | — |
body | object | No | — |
bodyPreview | string | No | — |
from | object | No | — |
sender | object | No | — |
toRecipients | object[] | No | — |
ccRecipients | object[] | No | — |
bccRecipients | object[] | No | — |
replyTo | object[] | No | — |
isRead | boolean | No | — |
isDraft | boolean | No | — |
hasAttachments | boolean | No | — |
importance | string | No | — |
conversationId | string | No | — |
parentFolderId | string | No | — |
sentDateTime | string | No | — |
receivedDateTime | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
webLink | string | No | — |
changeKey | string | No | — |
categories | string[] | No | — |
flag | object | No | — |
internetMessageId | string | No | — |
conversationIndex | string | No | — |
inferenceClassification | string | No | — |
isReadReceiptRequested | boolean | No | — |
isDeliveryReceiptRequested | boolean | No | — |
body full type
body full type
from full type
from full type
sender full type
sender full type
toRecipients full type
toRecipients full type
ccRecipients full type
ccRecipients full type
bccRecipients full type
bccRecipients full type
replyTo full type
replyTo full type
flag full type
flag full type
delete
messages.delete
Delete an email message [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
message_id | string | Yes | — |
user_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | No | — |
forward
messages.forward
Forward an email message
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
message_id | string | Yes | — |
to_recipients | string[] | Yes | — |
comment | string | No | — |
user_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | No | — |
get
messages.get
Get an email message by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
message_id | string | Yes | — |
user_id | string | No | — |
select | string[] | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
subject | string | No | — |
body | object | No | — |
bodyPreview | string | No | — |
from | object | No | — |
sender | object | No | — |
toRecipients | object[] | No | — |
ccRecipients | object[] | No | — |
bccRecipients | object[] | No | — |
replyTo | object[] | No | — |
isRead | boolean | No | — |
isDraft | boolean | No | — |
hasAttachments | boolean | No | — |
importance | string | No | — |
conversationId | string | No | — |
parentFolderId | string | No | — |
sentDateTime | string | No | — |
receivedDateTime | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
webLink | string | No | — |
changeKey | string | No | — |
categories | string[] | No | — |
flag | object | No | — |
internetMessageId | string | No | — |
conversationIndex | string | No | — |
inferenceClassification | string | No | — |
isReadReceiptRequested | boolean | No | — |
isDeliveryReceiptRequested | boolean | No | — |
body full type
body full type
from full type
from full type
sender full type
sender full type
toRecipients full type
toRecipients full type
ccRecipients full type
ccRecipients full type
bccRecipients full type
bccRecipients full type
replyTo full type
replyTo full type
flag full type
flag full type
list
messages.list
List email messages in a folder
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | No | — |
folder | string | No | — |
top | number | No | — |
skip | number | No | — |
select | string[] | No | — |
orderby | string[] | No | — |
is_read | boolean | No | — |
subject | string | No | — |
subject_contains | string | No | — |
subject_startswith | string | No | — |
subject_endswith | string | No | — |
from_address | string | No | — |
has_attachments | boolean | No | — |
importance | string | No | — |
categories | string[] | No | — |
conversationId | string | No | — |
sent_date_time_gt | string | No | — |
sent_date_time_lt | string | No | — |
received_date_time_ge | string | No | — |
received_date_time_gt | string | No | — |
received_date_time_le | string | No | — |
received_date_time_lt | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | No | — |
@odata.context | string | No | — |
@odata.nextLink | string | No | — |
value full type
value full type
move
messages.move
Move a message to a different folder
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
message_id | string | Yes | — |
destination_id | string | Yes | — |
user_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
subject | string | No | — |
body | object | No | — |
bodyPreview | string | No | — |
from | object | No | — |
sender | object | No | — |
toRecipients | object[] | No | — |
ccRecipients | object[] | No | — |
bccRecipients | object[] | No | — |
replyTo | object[] | No | — |
isRead | boolean | No | — |
isDraft | boolean | No | — |
hasAttachments | boolean | No | — |
importance | string | No | — |
conversationId | string | No | — |
parentFolderId | string | No | — |
sentDateTime | string | No | — |
receivedDateTime | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
webLink | string | No | — |
changeKey | string | No | — |
categories | string[] | No | — |
flag | object | No | — |
internetMessageId | string | No | — |
conversationIndex | string | No | — |
inferenceClassification | string | No | — |
isReadReceiptRequested | boolean | No | — |
isDeliveryReceiptRequested | boolean | No | — |
body full type
body full type
from full type
from full type
sender full type
sender full type
toRecipients full type
toRecipients full type
ccRecipients full type
ccRecipients full type
bccRecipients full type
bccRecipients full type
replyTo full type
replyTo full type
flag full type
flag full type
query
messages.query
Query email messages with OData filters
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | No | — |
folder | string | No | — |
filter | string | No | — |
select | string[] | No | — |
orderby | string | No | — |
top | number | No | — |
skip | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | No | — |
@odata.count | number | No | — |
@odata.context | string | No | — |
@odata.nextLink | string | No | — |
value full type
value full type
reply
messages.reply
Reply to an email message
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
message_id | string | Yes | — |
comment | string | Yes | — |
user_id | string | No | — |
cc_emails | string[] | No | — |
bcc_emails | string[] | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
status_code | number | No | — |
response_body | object | No | — |
response_body full type
response_body full type
search
messages.search
Search email messages
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
query | string | No | — |
subject | string | No | — |
fromEmail | string | No | — |
hasAttachments | boolean | No | — |
size | number | No | — |
from_index | number | No | — |
enable_top_results | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | No | — |
@odata.context | string | No | — |
value full type
value full type
send
messages.send
Send an email message
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
to | string | Yes | — |
subject | string | Yes | — |
body | string | Yes | — |
user_id | string | No | — |
to_name | string | No | — |
is_html | boolean | No | — |
cc_emails | string[] | No | — |
bcc_emails | string[] | No | — |
from_address | string | No | — |
save_to_sent_items | boolean | No | — |
attachment | object | No | — |
attachment full type
attachment full type
| Name | Type | Required | Description |
|---|---|---|---|
status_code | number | No | — |
body | object | No | — |
body full type
body full type
sendDraft
messages.sendDraft
Send a saved draft message
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
message_id | string | Yes | — |
user_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | No | — |
update
messages.update
Update an email message (e.g. mark as read)
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
message_id | string | Yes | — |
user_id | string | No | — |
is_read | boolean | No | — |
subject | string | No | — |
importance | string | No | — |
categories | string[] | No | — |
to_recipients | object[] | No | — |
cc_recipients | object[] | No | — |
bcc_recipients | object[] | No | — |
reply_to | object[] | No | — |
flag | object | No | — |
inference_classification | string | No | — |
is_read_receipt_requested | boolean | No | — |
is_delivery_receipt_requested | boolean | No | — |
to_recipients full type
to_recipients full type
cc_recipients full type
cc_recipients full type
bcc_recipients full type
bcc_recipients full type
reply_to full type
reply_to full type
flag full type
flag full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
subject | string | No | — |
body | object | No | — |
bodyPreview | string | No | — |
from | object | No | — |
sender | object | No | — |
toRecipients | object[] | No | — |
ccRecipients | object[] | No | — |
bccRecipients | object[] | No | — |
replyTo | object[] | No | — |
isRead | boolean | No | — |
isDraft | boolean | No | — |
hasAttachments | boolean | No | — |
importance | string | No | — |
conversationId | string | No | — |
parentFolderId | string | No | — |
sentDateTime | string | No | — |
receivedDateTime | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
webLink | string | No | — |
changeKey | string | No | — |
categories | string[] | No | — |
flag | object | No | — |
internetMessageId | string | No | — |
conversationIndex | string | No | — |
inferenceClassification | string | No | — |
isReadReceiptRequested | boolean | No | — |
isDeliveryReceiptRequested | boolean | No | — |
body full type
body full type
from full type
from full type
sender full type
sender full type
toRecipients full type
toRecipients full type
ccRecipients full type
ccRecipients full type
bccRecipients full type
bccRecipients full type
replyTo full type
replyTo full type
flag full type
flag full type