AutoMailReply is a Node.js based app that automatically responds to emails sent to your Gmail mailbox while you’re away.
-
Clone the repository:
git clone https://github.com/aalu-love/AutoMailReply.git
-
Navigate to the project directory:
cd AutoMailReply
-
Install the dependencies:
npm install
-
Set up Google OAuth2 credentials:
- Go to the Google Cloud Platform Console.
- Create a new project or select an existing project.
- Enable the Gmail API for your project.
- Create OAuth2 credentials (Client ID and Client Secret).
- Set the authorized redirect URI.
-
Configure the app:
- Rename the .env.example file to .env.
- Update the CLIENT_ID, CLIENT_SECRET, and REDIRECT_URI in the .env file with your OAuth2 credentials.
-
Start the application:
npm start
-
Open your web browser and navigate to the provided URL.
http://localhost:3000/api/googleAuth
-
Authorize the app by signing in with your Google account.
-
Follow the instructions on the web page to set up automatic email replies.
http://localhost:3000/api/replyAll
-
Enjoy your vacation while AutoMailReply handles your emails!
This project is licensed under the MIT License.