mailer: Fix version check to match error message