// Notifies the user that mail preferences are not set and brings the preferences dialog
if(!SendMailJob.mailPreferencesSet()) {
showErrorDialog(Translator.get("email_dialog.prefs_not_set"), Translator.get("email_dialog.prefs_not_set_title"));
GeneralPreferencesDialog preferencesDialog = GeneralPreferencesDialog.getDialog();
preferencesDialog.setActiveTab(GeneralPreferencesDialog.MAIL_TAB);
preferencesDialog.showDialog();
return;
}