Fix in mailgun for issue 7231