Email PDF templates business logic  done