1. sends mail only when @mail_notification is true
2. configure the maill address in main app