finished mailer + some bugs