This code, using the meteor request based package HTTP to call the mailgun api has worked for years:
HTTP.post(process.env.MAILGUN_API + \'/messages\', { auth