Use %r instead of %d.

One works for None'able numbers. One does not.
Log what mails we send.
Basic logging-config for periodic.
This calls for a new version.