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.
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.