nodejs emailjs connect econnrefused, smtp

my node server starts fine, is running fine until i'm trying to send an email with emailjs... this exception is thrown:

error :  code 5
error :  previous { [Error: connect ECONNREFUSED]
  code: 'ECONNREFUSED',
  errno: 'ECONNREFUSED',
  syscall: 'connect' }
error :  smtp undefined

my code:

var ES = require('./email-settings');
var EM = {};
module.exports = EM;

EM.server = require("emailjs/email").server.connect({
    host        : ES.host,
    user        : ES.user,
    password    : ES.password,
    ssl         : true,
    port        : 465
});

EM.dispatchResetPasswordLink = function(account, callback)
{
    EM.server.send({
        from         : ES.sender,
        to           : account.email,
        subject      : 'Password Reset',
        text         : 'something went wrong... :(',
        attachment   : EM.composeEmail(account)
    }, callback );
}

in email-settings i define host, user, password... they are not undefined. my smtp-server is gmail. do i have to define any other settings? maybe for my gmail-account? is emailjs using port 80 or so? my app is running on 8003

im looking for a solution for quite a long time now... thx for help :)

You need to unlock captcha code in gmail. As below link

https://accounts.google.com/b/0/displayunlockcaptcha