csvalpha / amber-api

https://csvalpha.nl
MIT License
4 stars 4 forks source link

Add job for incoming emails #369

Closed wilco375 closed 1 year ago

wilco375 commented 1 year ago

Sometimes, a stored mail would not be stored for an incoming email. This is because the email might not be available yet at the raw_url at the moment the webhook is called. This PR moves the creation of the inbound mail to a job which is executed with a small delay, and will retry if it fails.