added email address logging