Adding secondary email for many users by bulk on the system side

Hello,

Now, we want to add secondary email for many users by bulk on the system side.
If possible, we want to add without confirmation.

Can we do that ?
If yes, how can we do that ?

In indico shell you can query a user and then use user.secondary_emails.add('foo@bar.com') to add a secondary email for them.

Thank you for your reply.
I confirmed it worked.

I appreciate your clear and quick answer.