New email command

Rebased #62  PR