Treat relearning from ham to spam the same as relearning from spam to ham. `res` is only set to true if the mail is already learned.