Update mailer to use user/book preferences while sending mail (gh #28 and #29)