Added a management command to test the mail settings.