Callback implementation for mailgun