Update rails to 3.0.20 for critical security fix.
Ignore the email sending if configuration is set to false. Closes #3241.
Merge branch 'master' into pbs