better mail handling and admin alerts