Email is transactional, so you’ll want to trace from the first hop - details should be in the logs of your outgoing mail server.
I’m the meanwhile, you can set a user’s password directly thusly.
Since you obviously know it, it may be easier to use: User.find_by(username: 'bbaggins')
to do the linked procedure.