Retrieve emails from Office 365 email accounts using Oauth2 and IMAP in Laravel and save to database

Job ID: 36720921

Budget: $30 – $250 USD

I am looking for a Laravel developer who can help me update an existing Help Desk application that will authenticate to Office 365 using OAuth2 and IMAP to retrieve emails from other accounts on an interval basis and save the data to a database. I have an existing Office 365 account, and I am currently using Laravel 8.x. The ideal candidate should have experience with OAuth2 authentication, IMAP and be familiar with Laravel.

We already have a CRON job that pulls emails from other Email accounts using IMAP and save that data to a database but it doesn't work for Office365 because of Microsoft changes. This functionality is similar to what's in oSTicket (https://osticket.com/).

Need this done urgently.

Information for establishing connectivity.

Email account: *
****************************

Redirect URI: *
Callback Endpoint
https://domain.com/osticket/upload/api/auth/oauth2

Client Id: *
*********************

Client Secret:
••••••••••••••••••••••••••••••••••••••••

Authorization Endpoint: *
https://login.microsoftonline.com/common/oauth2/v2.0/authorize

Token Endpoint: *
https://login.microsoftonline.com/common/oauth2/v2.0/token

Resource Details Endpoint: *
https://outlook.office.com/api/v2.0/me

Scopes: *
Comma or Space separated scopes depending on IdP requirements
offline_access https://outlook.office.com/Mail.ReadWrite

Email Address Attribute: *
Please consult your provider docs for the correct attribute to use
EmailAddress:
Related categories: PHP Software Architecture MySQL HTML Laravel