This is a python script used to send emails using voice commands which are encrypted by Advanced Encryption Standard algorithm.
Steps to use the scripts :
Download all scripts in same folder
-
Put your email in place of sender email.
-
sendmails.py send the mails whose content has to be typed by the user
-
main.py sends the mails through voice commands
{For main.py you need to first set the contact dictionary to send the mails to the existing contacts}
- Run the script.
- speech_recognition
- pyttsx3
- smtplib
- cryptography
Use the package manager pip to install the cryptography package
pip install cryptography
Encryption.py file is used to create your unique key using a password that is unique for that password.
EncryptMessage.py is the file which has defined functions to encrypt and decrypt the string using the functions encrypt_message() and decrypt_message()
Once the email has been sent the reciever can run the script Decryption.py to decrypt the message by copying the encrypted message and passing it to the called function.
Note : This script can only send emails to gmail accounts.
Note : You need to allow less secure apps for sending the mail using smtp.
Note : The reciever should have the same key to decode the message.
Main.py is the script which is sending the emails through voice commands