mailer extension for periodicjs