Change: allow not using context separator

Don't use any context separator if it is not configured.
Improve error handling
New feature: retry sending email when failed
Make log file name configurable