First version of Mail plugin