Adding mail feature

See #3