E-mails · read_emails
Lire les e-mails
Lit la boîte mail connectée (Outlook ; Gmail en envoi seul).
- Prix
- inclus
- Prérequis
- Outlook
- à brancher dans Paramètres → Intégrations
- Validation humaine
- Non
- lecture ou écriture interne
Entrée
| Champ | Type | Description |
|---|---|---|
| maxResults | number | Maximum number of emails to retrieve (1-50, default 10) |
| filter | unread | all | today | Which emails to fetch: unread (default), all recent, or only today |
| query | string | Deprecated — free-text search is not supported on Outlook and is ignored. Filter results yourself from the returned list. |
Appeler cet outil
Via l'API HTTP, ou depuis le serveur MCP avec le méta-outil run.
curl https://api.ezyagents.fr/gateway/v1/run \
-H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
-d '{"tool":"read_emails","input":{"maxResults":1,"filter":"unread","query":"…"}}'$
run({ "tool": "read_emails", "input": {"maxResults":1,"filter":"unread","query":"…"} })