fix: add an encoding option and explicitely open file with it.

By default the encoding is in UTF-8. This should avoid the decoding problems.
feat(filter): no mail is send if there is no unlog lines to send.