Implement working mailer and controller