Refactor webhooks
Refactored mailgun code to the webhooks module and simplified some logic. This will facilitate adding other mail delivery support in the future.
Refactored mailgun code to the webhooks module and simplified some logic. This will facilitate adding other mail delivery support in the future.