Add extra check so that imapsync only runs when we recovered the mail password.