fix typo on email api controller