Detect and repair multipart/mixed message delivery errors