I send mail from the database in my app. It is plain not html but
generally will do what you want. Take a look at the source in http://opencampground.com/download. Download the source and look in
reservation_controller and in res_mailer.rb model. This is rails 2.3.18
but it might be of some help. It processes through liquid but that
should not add much confusion.