layout and notification
send mail in new thread