Hi,@Shah Baig
Thanks for posting your question in the Microsoft Q&A forum.
Based on your description, I have a couple questions to confirm:
1.What exactly is “user mail id”, is it the display name of the user?
2.Is there any error reported, and if so, can you provide a screenshot?