Exchange Web Services (EWS)
Interaktion mit lokalen Microsoft Exchange-Postfächern über die EWS SOAP API.
Exchange Web Services (EWS)
Exchange Web Services (EWS) is the SOAP/XML API for on-premise Microsoft Exchange servers. Use this block when you cannot use Microsoft Graph (e.g. Exchange 2013/2016/2019 without a cloud account).
Official documentation: https://learn.microsoft.com/exchange/client-developer/exchange-web-services
Einrichtung
- Find your Exchange EWS endpoint URL. It typically looks like
https://mail.company.com/EWS/Exchange.asmx. Your Exchange administrator can confirm the exact address. - Obtain a username (in
DOMAIN\useroruser@company.comformat) and password for a mailbox account. - In AACFlow, add an EWS block and enter the EWS endpoint URL, username, and password. All credential fields are stored as secrets.
Basic authentication must be enabled on the Exchange server for this integration. Negotiate/Kerberos is not supported.
Operationen
| Operation | Beschreibung |
|---|---|
ews_messages | List messages in a mailbox folder (default: inbox). Returns message summaries including subject, sender, and received time. |
ews_send | Send an email from the authenticated mailbox with To, Subject, Body (HTML supported), optional CC and BCC. |
ews_folders | List all top-level mailbox folders. |
Beispiel-Workflow
Schedule a workflow to run every 15 minutes, call ews_messages to fetch unread emails, pass each message body to an AI block for classification, and route urgent items to a Slack notification.
Links
- Official docs: https://learn.microsoft.com/exchange/client-developer/exchange-web-services
- Block source: apps/aacflow/blocks/blocks/ews.ts

