send mails automatically - ui fixes