A couple of days ago I realized that Google has changed the security of gmail accounts, particularly for the possibility of sending emails from applications. After Googling arou
It worked me, when I added the domain also to the auth object (not only the api_key). Like this:
var auth = { auth: { api_key: 'key-12319312391', domain: 'sandbox3249234.mailgun.org' } };