{"id":14986511,"url":"https://github.com/manlikenacho/gmailloader","last_synced_at":"2026-02-13T06:17:08.898Z","repository":{"id":243549518,"uuid":"812712646","full_name":"manlikeNacho/gmailLoader","owner":"manlikeNacho","description":"Using Google Api and OpenAi Api to fetch and organize user mails","archived":false,"fork":false,"pushed_at":"2024-06-12T23:19:21.000Z","size":184,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T22:51:36.584Z","etag":null,"topics":["expressjs","google-mail-api","google-oauth2","nodejs","open-api","openai-api"],"latest_commit_sha":null,"homepage":"https://gmailloader.onrender.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manlikeNacho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-09T17:05:26.000Z","updated_at":"2024-09-29T12:58:55.000Z","dependencies_parsed_at":"2024-10-13T23:50:58.950Z","dependency_job_id":null,"html_url":"https://github.com/manlikeNacho/gmailLoader","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":0.09090909090909094,"last_synced_commit":"ab84c132ec0d3f9169679ec0c79597150d50241f"},"previous_names":["manlikenacho/gmailloader"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/manlikeNacho/gmailLoader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manlikeNacho%2FgmailLoader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manlikeNacho%2FgmailLoader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manlikeNacho%2FgmailLoader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manlikeNacho%2FgmailLoader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manlikeNacho","download_url":"https://codeload.github.com/manlikeNacho/gmailLoader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manlikeNacho%2FgmailLoader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274748566,"owners_count":25341973,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["expressjs","google-mail-api","google-oauth2","nodejs","open-api","openai-api"],"created_at":"2024-09-24T14:13:03.940Z","updated_at":"2026-02-13T06:17:08.824Z","avatar_url":"https://github.com/manlikeNacho.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GmailLoader\n## Overview\nGmailLoader is a web application designed to fetch and classify emails from a user's Gmail account using Google's Gmail API and OpenAI's classification capabilities. This application aims to provide a seamless way to manage and categorize emails based on their content and importance.\n\n## Features\n- Google OAuth Integration: Securely authenticate users with their Google account to access their Gmail.\n- Fetch Emails: Retrieve emails from the user's Gmail account using Gmail API.\n- Email Classification: Classify emails using OpenAI's API into categories such as important, social, promotions, etc.\n- Real-time Updates: Automatically fetch and classify new emails.\n- User Dashboard: Provide users with a dashboard to view and manage their classified emails.\n- Responsive Design: Optimized for both desktop and mobile devices.\n## Use Cases\n1. Email Organization: Automatically categorize and organize emails to reduce inbox clutter.\n2. Priority Management: Identify and prioritize important emails, ensuring critical messages are not missed.\n3. Spam Detection: Classify and separate spam or promotional emails from the main inbox.\n4. Email Summarization: Provide quick snippets of emails for easy preview and decision-making.\n5. User Engagement: Improve user engagement by providing a clean and organized email interface.\n## Installation\n### Prerequisites\n- Node.js and npm installed.\n- Google Cloud project with Gmail API enabled.\n- OpenAI API key.\n### Steps\n1. Clone the repository:\n` git clone https://github.com/manlikeNacho/gmailLoader.git `\n` cd gmailLoader`\n\n2. Install dependencies:\n\n` npm install`\n3. Environment Variables:\nCreate a .env file in the root directory and add the following:\n```\n GOOGLE_CLIENT_ID=your-google-client-id\n GOOGLE_CLIENT_SECRET=your-google-client-secret\n NEXTAUTH_URL=http://localhost:3000\n NEXTAUTH_SECRET=your-nextauth-secret (openssl key)\n EXPRESS_SESSION_SECRET=secret\n GOOGLE_CLIENT_CALLBACK_URI=your-callbackUri-from-google-console\n JWT_PRIVATE_KEY=jwt-key\n WINSTON_LOG_LEVEL=info\n \n```\n4. Run the development server:\n` npm run dev`\n\n\n## Usage\n1. Sign In:\n\nClick on the sign-in button and authenticate using your Google account.\n2. Fetch Emails:\n\nOnce authenticated, the application will automatically fetch and display emails from your Gmail account.\n3. Classify Emails:\n\nClick on the \"Classify\" button to categorize emails. The classification results will be displayed alongside each email.\n4. View Classified Emails:\n\nView and manage classified emails from the user dashboard.\n## Contributing\nWe welcome contributions to enhance GmailLoader. Please fork the repository and submit pull requests for any features or bug fixes.\n\n## NOTE\nThe fullstack app files(client\u0026Server) can be found in the default branch.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanlikenacho%2Fgmailloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanlikenacho%2Fgmailloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanlikenacho%2Fgmailloader/lists"}