index.js
function smtpSendMail( callback, email ) {
    if (email===undefined){
        return callback(returnError('Empty email data'));
    }
    email['html'] = base64(email['html']);
    var data = {
        email: serialize(email)
    };
    sendRequest( 'smtp/emails', 'POST', data, true, callback );
}
function smtpSendMail( callback, email ) {
    if (email===undefined){
        return callback(returnError('Empty email data'));
    }
    email['html'] = base64(email['html']);
    var data = {
        email: serialize(email)
    };
    sendRequest( 'smtp/emails', 'POST', data, true, callback );
}
SMTP: send mail

@param callback
@param email