Auto-forward rules
List the forwarding attempts of a rule
GET
/auto-forward-rules/{ruleId}/logsThe 50 most recent attempts, newest first, with the email that triggered each one. In-flight attempts are not listed.
Authorization
apiKey AuthorizationBearer <token>
Send your key as Authorization: Bearer mk_…. Session cookies are never accepted on this surface.
In: header
Path Parameters
ruleId*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/auto-forward-rules/string/logs" \ -H "Authorization: Bearer $MAYLEE_KEY"{ "items": [ { "createdAt": "2026-08-26T08:15:12.000Z", "destination": "accounting@your-company.com", "email": { "date": "2026-08-26T08:15:02.000Z", "from": { "email": "billing@supplier.example", "name": "Supplier Billing" }, "id": "cmemy2b3c4d5e6f7g8h9i0j1", "subject": "Invoice #2026-0142" }, "emailId": "cmemy2b3c4d5e6f7g8h9i0j1", "error": null, "forwardedMessageId": "<20260826081512.4d5e6f@your-company.com>", "id": "cmfw1a2b3c4d5e6f7g8h9i0j", "mode": "normal", "status": "sent" } ]}Get an auto-forward rule GET
Previous Page
Create an auto-forward rule POST
Forwards every incoming email matching the condition to `forwardTo`. A rule makes email leave the workspace: creating, changing or deleting one requires `allowOutboundSend` on the key, like sending does. A key with `write` alone gets `403 OUTBOUND_SEND_NOT_ALLOWED`.