Adds an api/email route for fetching the requesting user's email address - this is done as dedicated route because that information should be stored anywhere so needs to be requested on a need-to-know basis.
Also adds some error reporting when a badge claim fails so we can see what's going wrong on staging if this still fails there.
Adds an
api/email
route for fetching the requesting user's email address - this is done as dedicated route because that information should be stored anywhere so needs to be requested on a need-to-know basis.Also adds some error reporting when a badge claim fails so we can see what's going wrong on staging if this still fails there.