emails: add logging on error

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