We have a script which syncs the membership information from Launchpad to patches.l.o but it looks like that script only worked because the token used for authentication was for a user who was a member of the registry admins team and thus had access to everyone's email address, regardless of whether they were hidden or not. Now that user is no longer a member of the registry admins team so whenever the script finds a user with a hidden email address it crashes.
Note that pulling email address information from Launchpad is essential because that's the only identifier we have in patches and thus is the only thing we can use to lookup a patch author. If there's no way we can pull email addresses from LP, one alternative would be to require people to log into patches.l.o and register all their email addresses there before they start CCing patches to patches@l.o
Can we instead use the people.getByEmail to directly fetch a person for a particular email address (I believe it should find the appropriate person regardless of their email being hidden or not)?