bugfix at btnNewEmails + minor bugfixes