Get Incoming Messages
get_incoming_messagesRead the company's Incoming inbox: messages that arrived by email, WhatsApp, Slack or Telegram (sender, subject, preview, attachments and their processing status), plus a count of documents still processing or failed. Use whenever the user asks what is waiting in Incoming, whether anything came in, about an email or message someone sent, or before saying Incoming is clear. Documents alone are not the whole inbox: a waiting email with a statement attached is a message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max messages (default 20, max 50) | |
| source | No | Filter by channel: email, whatsapp, slack, telegram, gmail. Omit for all. | |
| company | No | Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default. | |
| unread_only | No | Only messages not yet opened (default false) | |
| include_processed | No | Also include messages already marked processed (default false: waiting only) |