Fix some bugs

Logger now does not repeat logs
Mailing list can now handle multipart messages