Skip to main content

To download, create and mail certificate on events

Project description

Certificates Mailer

Automate sending event's certificates by email.

Uses exported information from EventoL, generate certificates in PDF, and mail them to the corresponding receiver.



virtualenv -p python3 somewhere cd somewhere source bin/activate pip install certmailer

or using fades

fades -d certmailer -x certmail

or add to your ~/.bashrc

certmail() { fades -d certmailer -x certmail $@; }


Create an account in MailJet, to send SMTP.


certmail config

Type the api key and the secret key give to you by MailJet service

Create a new job

certmail job new

Add data

Go to the EventoL instance, login, and choose

Select Activity, Attendees, Collaborators and Installers, and export one by one to yaml format.

Add them using

certmail data add *.yaml

Create the list of recipients

certmail do list

this will parse the yaml files exported from EventoL, and create a csv.

Check the list of receivers

certmail edit list

It'll open the default editor on every case.

If you don't want that somebody receives an email, clear «send mail?» cell.

If you want to add some certificate, add yes to the corresponding cell.

And if you don't want to send a certificate, clear the corresponding cell.

Add attachments and edit format

Add attachments using

certmail attach add

Edit email's text part

certmail edit text

Edit email's HTML part

certmail edit html

Edit certificate in InkScape

certmail edit certificate

Create the template

certmail do template

Run everything

certmail do certificates

This will create the certificates pdf to send, and yaml files with all the info of every mail that will be sent. All the information will be stored on the «cache//outbox» directory.

certmail do send

This will send every mail. If an email is successfully sent, all it's

data'll move to «cache//sent» folder, and a json with information of resulting email will be stored.


  • Python 3
  • PyYaml
  • certg
  • mailjet-rest
  • click

Dev Instructions

git clone virtualenv env source env/bin/activate pip install -e .


  1. Fork it!

  2. Create your feature branch: git checkout -b my-new-feature

  3. Commit your changes: git commit -am 'Add some feature'

  4. Push to the branch: git push origin my-new-feature

  5. Submit a pull request :D


  • Extend documentation
  • Digital signature


  • María Andrea Vignau

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for certmailer, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size certmailer-1.1-py3-none-any.whl (35.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size certmailer-1.1.tar.gz (14.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page