created a mailer, kind of got it working