Undefined text appears on email notification