Added ability to attach rendered file to mailer