Fixes no method error for nil error
Adds email confirmation using ActionMailer

Uses letter_opener gem in development.