send mail work some modifications