Implemented mail component

Signed-off-by: Andrei Thorp <athorp@evernote.com>