Merge pull request #50 from rata/master

scripts/generate-template.sh: Filter empty msgstr too
scripts/generate-template.sh: Allow to configure envelope from when sending email

This patch just changes from mail to sendmail to allow to configure the envelope
from of the email sent. Also, if no env from nor realn is configured, the
email is not sent.