Implemented mail sending