Mailprocessor class