Add email address to resend audience after account creation

Hello, I am trying to basically add an email address to my resend audience every single time after a user creates an account. I was able to make this work only if the user creates an account with their email, but if a user creates an account with Google, this is where I'm having an issue because I'm not able to track whether it's a new account or not.

Is there a simpler way to do this so that when a email gets added to this supabase authentication table, that I can do something to call an edge function or something to add this email address into my resend audience.
Was this page helpful?