Added test email settings functionality.