On email verification, add metadata

Hi

I’m interested in adding some specific metadata, following a users verification. While a proportion of users may well login after verification, almost 50% do not. But I still want to set this metadata.

So flow is:
1/. User is sent a verification email (periodic, not registration based verification)
2/. On clicking on the verification token in the email: app_metadata is set to be xyz (I do not want to set email_verfied as this can only be done once

Is there a way to do this?

Thanks in advance!