- write error message to log file in case smtp::sendmessage raises an error. This way, we try to avoid that a catch on an above calling level swallows silently the error message
- improve variable name
- bump version number
- improve quoting saftey by using "list" instead of constant braces
- build command for smtp::sendmessage as a list instead of a string (simplifies code, more readable, ... better!)