Fixed a bug which prevented mailtraffic from being written to database

Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>