Single SignOn for Login into Users Account

I am building a product where I will provide email accounts to all my users.
I want that the API should return me a link or a method by using which user can directly log in into their Inbox (without using the password)

Can someone guide me on that?