To retrieve the photo from a mailbox you could use two options: When the picture is uploaded to user’s mailbox, the picture is stored in the root of your mailbox in the item IPM.UserPhoto in different resolutions:
There are two ways to configure your profile picture: