implemented mail sharing