pass data to email view