I am building a power apps for purchase order with a sharepoint list (List 1). Also, I created another sharepoint list for storing information of manager(list 2). Column type is 'Person or Group' and its name is User Name.
The form has two sections: order details filled by requestor and approval information filled by manager. I would like to set display mode to disabled when current user is not manager. When user is a manger, display mode will change to edit.
I am using the following logic in DisplayMode in power apps:
If(And(ViewForm.Mode=FormMode.Edit,!IsBlank(LookUp('List 2','User Name'.Email=User().Email).'User Name'.Email)),DisplayMode.Edit,Disabled)
However, lookup function cannot retrieve user email. Result is blank.

Any improvement for the formulas? Thanks a lot.