Help with storing secondary/backup email for users

I'm migrating from a next-auth setup where my users table has two fields - secondary_email and secondary_email_verified. I need to be able to send an email to the secondary email to validate it and update the secondary_email_verified state. I would do this using a magic link. Has anyone done something like this? Is there a way to hook into the email verification step using magic link plugin?
Was this page helpful?