added mailing features to the notify. TODO: add a readme doc