bugfix mailer and ticket statuses