[#48537845] fixes tests to handle multipart emails