mail and message fix

mail failed for a missing "from" key and message failed for a missing
value assignment to message class
Merge pull request #149 from gioppoluca/gioppo-mailing-fixes

mail and message fix