emails: fix dereference error in view

Signed-off-by: diditclear <didyourupgradeclear@gmail.com>