added a mail example: mailExample.js