Skip to content

Drop files into a folder to be emailed to a single account in a single email. After the email has been sent, the folder will be purged clean so no dupes will be sent. Perfect for sending multiple files to your Kindle.

Notifications You must be signed in to change notification settings

patelpratham11/BookBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

BookBot v1.0

You can look email multiple files to a single email to a single person, after which the entire directory will be wiped clean. Use this for your Kindle or anything.

Dependencies

  • yagmail --> sending the emails
  • os --> directory access and listing
  • shutil --> purging the directory afterwords

    Dependency Installation

    • Within a set virtual env (venv), pip install those dependencies
    • Be sure to have the venv running while executing this code
      • Though if you clone this repo, you can just navigate to that folder and run...
        source BookBot/bin/activate
        
        ...and you can use the venv that I have created.

Pre-Usage

  1. Clone this repository
 https://github.com/patelpratham11/BookBot.git
  1. Make sure your gmail account is set to allow for un-safe applications to access it
  2. This is in order to make sure that this client can access your email and send the emails
  3. You can access that site and turn it on here
  4. Make sure to change the 'folder' variable to where ever you want the 'Books' directory to be made/ where you want to place the books to be emailed to you
  5. Make sure current dependencies are installed with the latest updates
  6. Execute the code by making sure you're running from the directory and running
python3 Book.py

Usage Instructions

  1. Make sure you have followed the pre-usage Instructions
  2. Place whatever files you would like to email in the folder
  3. Run the program from the command line, making sure you're following all Instructions
  4. Put your email, password, and receiving email down
  5. Everything should send in a single email and clear the directory

Development

  • This project was developed by Pratham Patel (patelpratham11) starting December 25, 2021
  • All bugs and other comments can be submitted through GitHub

About

Drop files into a folder to be emailed to a single account in a single email. After the email has been sent, the folder will be purged clean so no dupes will be sent. Perfect for sending multiple files to your Kindle.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published