Search in mailboxes Gmail (Loop) with polling
Gmail Pack.#
This Playbook is part of theSupported versions
Supported Cortex XSOAR versions: 6.5.0 and later.
This playbook should only run as a sub-playbook for the Search-all-mailboxes - Gmail playbook, it should not run alone.
#
DependenciesThis playbook uses the following sub-playbooks, integrations, and scripts.
#
Sub-playbooksThis playbook does not use any sub-playbooks.
#
IntegrationsGmail
#
Scripts- Set
- DeleteContext
#
Commandsgmail-search-all-mailboxes
#
Playbook InputsName | Description | Default Value | Required |
---|---|---|---|
after | Search for messages sent after a specific date. For example, 2018/05/06 | Optional | |
before | Search for messages sent before a specific date. For example, 2018/05/09 | Optional | |
fields | Enables partial responses to be retrieved in a comma-separated list. For more information, see https://developers.google.com/gdata/docs/2.0/basics\#PartialResponse. | Optional | |
filename | Attachments with a certain name or file type. For example, "pdf" or "report.pdf" | Optional | |
from | Specifies the sender. For example, "john" | Optional | |
to | Specifies the receiver. For example, "john" | Optional | |
has-attachments | Whether to search for messages sent with attachments. | Optional | |
in | Messages in any folder, including Spam and Trash. For example, shopping | Optional | |
include-spam-trash | Includes messages from SPAM and TRASH in the results. (Default: false) | Optional | |
labels-ids | Returns messages with labels that match all of the specified label IDs in a comma-separated list. | Optional | |
page-token | This argument is not usable | Optional | |
query | Returns messages matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread". For more syntax information,see "https://support.google.com/mail/answer/7190?hl=en" | Optional | |
subject | Words in the subject line. For example, "alert" | Optional | |
searching_accounts | Used to track a search's progress | Optional |
#
Playbook OutputsPath | Description | Type |
---|---|---|
Gmail.Mailboxes | The Gmail mailbox. | unknown |
Gmail.ID | The inner ID of the Gmail message. | unknown |
Gmail.ThreadId | The thread ID. | unknown |
Gmail.Format | The MIME type of the email. | unknown |
Gmail.Labels | The labels of a specific email. | unknown |
Gmail.To | The email address of the receiver. | unknown |
Gmail.From | The email address of the sender. | unknown |
Gmail.Cc | The additional recipient email address (CC). | unknown |
Gmail.Bcc | The additional recipient email address (BCC). | unknown |
Gmail.Subject | The subject of the specific email. | unknown |
Gmail.Body | The content of the email. | unknown |
Gmail.Attachments | The attachments of the email. IDs are separated by commas. | unknown |
Gmail.Headers | All headers of specific mail (list). | unknown |
Email.Attachments.entryID | Email Attachments. IDs are separated by commas. | unknown |
NewPageToken | In the next iteration, additional accounts will be imported using this output. | unknown |
Stop | The result of this output causes the loop to end. | unknown |
SearchFromAccountIndex | A search is performed from an account index (Enables the search process to be followed). | unknown |
SearchToAccountIndex | A search is performed to an account index (Enables the search process to be followed). | unknown |