Sent mail loging and mail sending ui.