draft and mailer still incomplete
fixin mailer, addin some validations on pdf parser