search
Find emails in a specified folder using criteria like sender, recipient, subject, date ranges, or message status to locate specific messages efficiently.
Instructions
Searches for messages in the specified folder matching the parameters set in searchOptions. Available search options are: from, to, subject, since, before, unseen, flagged, answered, custom. It returns a list of ids that can then be used to get individual messages based on their id.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
before | No | ||
folder | Yes | ||
from | No | ||
since | No | ||
subject | No | ||
to | No |