changed type to email