Bugfix mailgun headers

The implementation was wrong. It sent a string formatted version of the headers to the mailgun SDK in a 'header' key. This is not a thing in mailgun, thus custom headers didn't work.