/Send-an-email-using-DearPyGUI-ChatGPT-and-your-voice

Send an email using DearPyGUI, ChatGPT and your voice

Primary LanguagePythonMIT LicenseMIT

Send an email using DearPyGUI, ChatGPT and your voice

This project will show you how to Send an email using DearPyGUI, ChatGPT and your voice

Setup

System dependencies

  • Python v3.x

Create keys

We need to have an ChatGPT Account in order to create our keys Also, we need to create an account for Amazon Polly

Gather environment variables

You'll need the following values:

V3_API_KEY = ""
GRANT_ID = ""
OPEN_AI = ""

Add the above values to a new .env file:

$ touch .env # Then add your env variables

Install dependencies

$ pip3 install nylas
$ pip3 install dearpygui
$ pip3 install openai
$ pip3 install speech_recognition
$ pip3 install boto3
$ pip3 install jellyfish
$ pip3 install textwrap
$ pip3 install playsound

Usage

Clone the repository. Go to your terminal and type:

$ cd Email_Assistant
$ python3 email_assistant.py