Backend Service for Efficient Email Search Objective: ● Develop a robust backend service that empowers users to connect their Gmail accounts via OAuth authentication and efficiently fetch emails received after a user-selected timestamp. This service will streamline email searches and eliminate the hassle of manual retrieval. ● You're free to implement this assignment in any programming language, with Go and Python being the preferred choices. Requirements: OAuth Authentication:
- Implement OAuth 2.0 authentication to securely connect users' Gmail accounts to the backend service.
- Utilise OAuth libraries or SDKs to facilitate the authentication process. Timestamp-Based Email Retrieval:
- Allow users to specify a timestamp (e.g., date and time) indicating the starting point for fetching emails.
- Fetch all emails received after the provided timestamp. Concurrency and Parallelism:
- Implement concurrency and parallelism techniques to optimise email retrieval. Extract Mail Data:
- For each fetched email, extract the complete email body and handle attachments.
- Encode the email body in Base64 format.