Added event listener to email