Skip to content

Python utility that sends an email to a recipient when their age group is eligible for the NHS COVID vaccine

Notifications You must be signed in to change notification settings

MyNameIsMikeGreen/covid-vaccine-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COVID Vaccine Notifier

Email Example

  • Detects the NHS's current age threshold for non-priority COVID vaccination.
  • Compares this to the user's age.
  • If the user is eligible for the vaccine according to the current rollout plan, sends a notification email.

Usage

  • Create a Mailgun account.
  • Set the following environment variables:
    • TARGET_AGE: Age of the user
    • RECIPIENT: Email address to notify
    • MAILGUN_API_KEY: API key for the Mailgun account to send notification email from
    • MAILGUN_DOMAIN: Maingun sending domain to send email from
  • Run ./run.sh
    • Ideally, this will be run periodically with a scheduler

About

Python utility that sends an email to a recipient when their age group is eligible for the NHS COVID vaccine

Topics

Resources

Stars

Watchers

Forks