improving send email form handling