postalsys / emailengine

Headless email client
https://emailengine.app/
Other
1.9k stars 169 forks source link

Does webhook for an email include the body of any attachments? #477

Closed brentshulman-silkline closed 2 weeks ago

brentshulman-silkline commented 2 weeks ago

Please file only reproducible bugs.

Do not file support request as issues in Github. Instead use the official support channels listed here: https://emailengine.app/support

andris9 commented 2 weeks ago

In general, no. If you use the websafe setting option for webhooks, then EmailEngine will include embedded image attachments in the webhook payload.

brentshulman-silkline commented 2 weeks ago

Got it - so, to get an email's attachments (ex, a voice recording, .mp4), I would need to make a subsequent query to the GET /v1/account/{account}/attachment/{attachment} endpoint.

andris9 commented 2 weeks ago

Yes