Fixed emailer and pdf generator classes