fix mail_to
load inline attachments in email
changed all styling to inline as template
was not rendering correctly