Don't use command line, use Python and send via local SMTP
We don't need postfix at runtime anymore, just an MTA
Whitespace fix
Make access check more robust (and don't wipe out DB)