See Could not find SwiftMailer for more info, However I can’t guess why it would suddenly stop working unless a previous edit was lost during an update or git stash etc.
This has come up several times, personally I’m surprised it doesn’t come up more often, but the fact it doesn’t makes me wary of submitting a fix to the repo.