Used to work with emails.

Hierarchy

  • MailMessage

Methods

search

  • The method allows you to search for emails.

    You can use this method to:

    • Apply filters to files based on different parameters.
    • Search for and get a specific or the first item found in the query.
    • Sort search results.
    • Limit the number of search results or see search results on several pages. Example:
      const position =  await System.mailbox.messages.search().where(f => f.__id.eq('<some id>')). first();
      

    Returns MailMessageSearch

    Object used to make search queries to search for emails.