fix email alert view