Skip to main content

Zoom Mail

This Integration is part of the Zoom Mail Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.10.0 and later.

Enables interaction with the Zoom Mail API.

Configure Zoom Mail in Cortex#

ParameterDescriptionRequired
Server URL (e.g., https://api.zoom.us/v2)True
Fetch incidentsFalse
Incident typeFalse
Maximum number of alerts per fetchFalse
Client IDTrue
Client SecretTrue
Account IDTrue
First fetch timeFalse
Trust any certificate (not secure)False
Use system proxy settingsFalse
Incidents Fetch IntervalFalse
Fetch MailboxMailbox to fetch incidents fromFalse
Fetch QueryElastic query to filter messages in the specified inbox.False
Fetch LabelsSpecify the folder that the messages will be fetched from.False
Include Threads when FetchingFalse

Scopes Required#

Classic Scopes#

  • mail:read
  • mail:write
  • user:read

Granular Scopes#

  • email:read:list_msgs
  • email:write:trash_msg
  • email:read:list_threads
  • email:read:thread
  • email:read:attachment
  • email:write:send_msg
  • email:read:profile
  • user:read:list_users:admin

Additional Resources#

Commands#

You can execute these commands from the CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.

zoom-mail-email-move-trash#


Move a message to the trash.

Base Command#

zoom-mail-email-move-trash

Input#

Argument NameDescriptionRequired
emailThe target mailbox to delete the email from.Optional
message_idThe message_id of the message to delete.Required

Context Output#

There is no context output for this command.

zoom-mail-email-list#


Lists the messages in the user's mailbox.

Base Command#

zoom-mail-email-list

Input#

Argument NameDescriptionRequired
emailThe target mailbox to list emails.Optional
queryQuery to filter emails within the given mailbox.Optional
max_resultsMaximum number of emails to list.Optional
page_tokenThe token for the next page of results.Optional
include_spam_trashWhether or not to include spam or trash messages in the results.Optional
message_idThe immutable message ID.Optional
formatThe format to return the message with. Possible values are: full, metadata, minimal.Optional

Context Output#

PathTypeDescription
ZoomMail.Email.messages.idstringThe ID of the email message.
ZoomMail.Email.messages.threadIdstringThe ID of the email thread.
ZoomMail.Email.resultSizeEstimatenumberThe estimated amount of messages found.
ZoomMail.Email.messages.labelIdsstringThe labels assigned to the email.
ZoomMail.Email.messages.snippetstringA snippet of the email content.
ZoomMail.Email.messages.historyIdstringThe history ID of the email.
ZoomMail.Email.messages.internalDatedateThe internal date of the email.
ZoomMail.Email.messages.expirationnumberThe expiration time of the email.
ZoomMail.Email.messages.lastMoveddateThe last moved timestamp of the email.
ZoomMail.Email.messages.sendTimedateThe send time of the email.
ZoomMail.Email.messages.userScheduledbooleanIndicates if the email was user scheduled.
ZoomMail.Email.messages.manifeststringThe manifest of the email.
ZoomMail.Email.messages.originalMimestringThe original MIME of the email.
ZoomMail.Email.messages.payload.partIdstringThe part ID of the email payload.
ZoomMail.Email.messages.payload.mimeTypestringThe MIME type of the email payload.
ZoomMail.Email.messages.payload.filenamestringThe filename of the email payload.
ZoomMail.Email.messages.payload.headersunknownThe headers of the email payload.
ZoomMail.Email.messages.payload.body.attachmentIdstringThe attachment ID of the email body.
ZoomMail.Email.messages.payload.body.sizenumberThe size of the email body.
ZoomMail.Email.messages.payload.body.datastringThe data of the email body.
ZoomMail.Email.messages.payload.partsunknownThe parts of the email payload.
ZoomMail.Email.sizeEstimatenumberThe size estimate of the email.
ZoomMail.Email.rawstringThe raw content of the email.

zoom-mail-thread-list#


Get an email thread.

Base Command#

zoom-mail-thread-list

Input#

Argument NameDescriptionRequired
emailThe target mailbox to list emails.Optional
thread_idUnique identifier for the email thread you want to retrieve.Optional
formatSpecifies the format in which the email messages in the thread should be returned. Possible values are: full, metadata, minimal.Optional
metadata_headersWhen the format is set to metadata, this argument allows you to specify which email headers should be included in the response.Optional
max_resultsDefault is 50.Optional
page_tokenThe token for the next page of results.Optional

Context Output#

PathTypeDescription
ZoomMail.Thread.idstringThe ID of the email thread.
ZoomMail.Thread.statusstringThe status of the email thread.
ZoomMail.Thread.threadNamestringThe name of the email thread.
ZoomMail.Thread.messagesunknownThe messages found in the email thread.

zoom-mail-email-attachment-get#


Get an email attachment.

Base Command#

zoom-mail-email-attachment-get

Input#

Argument NameDescriptionRequired
emailThe email address of the inbox.Optional
message_idThe immutable message ID.Required
attachment_idThe immutable attachment ID.Required

Context Output#

There is no context output for this command.

zoom-mail-send-email#


Sends an email message with support for plain text, HTML, and attachments.

Base Command#

zoom-mail-send-email

Input#

Argument NameDescriptionRequired
fromThe sender address.Optional
toThe recipient address.Required
subjectThe subject of the email.Required
bodyThe plain text body of the email.Optional
html_bodyThe HTML body of the email.Optional
attachmentsComma-separated list of War Room entry IDs.Optional

Context Output#

PathTypeDescription
ZoomMail.Email.idstringThe id of the sent email.
ZoomMail.Email.threadIdstringThe id for the thread of the sent email.

zoom-mail-mailbox-profile-get#


Retrieves the mailbox profile.

Base Command#

zoom-mail-mailbox-profile-get

Input#

Argument NameDescriptionRequired
emailThe target mailbox.Optional

Context Output#

PathTypeDescription
ZoomMail.Profile.statusstringThe status of the mailbox profile.
ZoomMail.Profile.emailAddressstringThe email address assigned to the mailbox profile.
ZoomMail.Profile.messagesTotalnumberThe total number of messages.
ZoomMail.Profile.threadsTotalnumberThe total number of threads.

zoom-mail-user-list#


Lists the available users.

Base Command#

zoom-mail-user-list

Input#

Argument NameDescriptionRequired
statusThe status of the User.Optional
limitThe max amount of users to return per page.Optional
role_idThe ID for the role of the User.Optional
page_numberThe page number of results.Optional
include_fieldsIndicates whether or not to include fields.Optional
next_tokenThe token used to fetch the next page.Optional
licenseIndicates if the user is licensed or not.Optional

Context Output#

PathTypeDescription
ZoomMail.User.role_idstringThe ID of the users role.
ZoomMail.User.display_namestringThe display name of the user.
ZoomMail.User.idstringThe ID of the user.
ZoomMail.User.emailunknownThe email for the user.