MimeMessageParser uses a Map for the attachments: > 484 : public Map<String, DataSource> getAttachmentList() However an email can have 2 attachments with the same name. The Map will just replace any existing attachment.