core: make z_email_embed robust against failed file content data fetches.

(cherry picked from commit 66623fae64ecd27d4c9894e44ec1b970375949b3)