added mailer package
took some stuff out