How to change main emails in batch for my team members

For some reason, my team’s email domain is invalid now, the sentry worker keep timeout when trying to send email to these invalid emails.

And even if our team members want to change primary email at UI, the verification mail seems like being blocked by the invalid mail in queue.

So can i change the mail emails directly at pg?

Ok I have answered the question myself.

First of all, it turns out that sentry does not keep retrying sending invalid emails, it’s my mailgun port 465 somehow cant be connected, the problem have been solved after changing to port 587.

And for my original question, just change these two tables in pg:

public.auth_user, field username, email
public.sentry_useremail, field email.