add email configuration to the dev and prod environment rb files
fix production config
add migration for devise