Mailer plugin for phonegap