The application allows you to write emails containing variables, assign values to the variables per recipient, and send emails with the specified values.
The user can define variables in the application's table field. They can be placed in the "To", "Subject" and message fields by selecting the desired row in the table and pressing the Preview button. The placement of the items is defined by adding the column name to the text within the square brackets, e.g. [variable]. By pressing the "Send all" button, all messages are sent via GmailAPI. Logging in is required to send messages. To log in, you need a file with the Google Cloud project clientID in the project root named credentials.json. You can create your own project using these instructions and for help with generating the clientID, you can here.
- Install the dependencies:
poetry install
- Perform the initialization steps:
poetry run invoke build
- Run the application:
poetry run invoke start
- Run the tests
poetry run invoke test
- Generate a test coverage report
poetry run invoke coverage-report
- Run lint
poetry run invoke lint
- Autoformat the code
poetry run invoke format