Removing file attachment and attaching hdf stream for nodemailer.