How to get email addresses

Get Preferred Emails

Emails can be retrieved for users by including with_preferred_emails in the call to get_profiles.

For more information on the params accepted for get_profiles(), please see the documentationarrow-up-right.

venue_id = '' # For example, 'aclweb.org/ACL/ARR/2025/February'
preferred_emails_invitation_id = venue_id + '/-/Preferred_Emails'
profile_ids_or_emails = [] # For example, '~Firstame_Lastname1' or an email '[email protected]' in a list of one or multiple

profiles = openreview.tools.get_profiles(client_v2, profile_ids_or_emails, with_preferred_emails=preferred_emails_invitation_id)

For each profile you can then use profile.get_preferred_email() to get the preferred email for the profile.

Example: How to get Author emails

In this example, the accepted submissions are being retrieved to get the authorids. The authorids are passed in get_profiles() and the preferred_name ,preferred_email , submission number, and submission title are stored in author_info.

venue_id = '' # For example, 'aclweb.org/ACL/ARR/2025/February'
preferred_emails_invitation_id = venue_id + '/-/Preferred_Emails'

all_accepted_authors = set()

accepted_submissions = client_v2.get_all_notes(content={'venueid':venue_id} )

for submission in accepted_submissions:
    for author in submission.content['authorids']['value']:
        all_accepted_authors.add(author)
        
profiles = openreview.tools.get_profiles(client_v2, list(all_accepted_authors), with_preferred_emails=preferred_emails_invitation_id)

Please contact us using the Feedback formarrow-up-right if you're having trouble getting the preferred emails for authors or if Publication Chairs need access to the preferred emails.

Last updated

Was this helpful?