allow api_key to be specified in the mailgun_settings instead of in the environment