Detect boundary for multipart emails