added more dynamics to email test