Use #parts instead of #part to read all the parts of the Message.

Merged Rubén Dávila requested to merge fix-plain-text-emails into master

What does this MR do?

Fix an incorrect usage of a method to read the parts of an email message.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

It was adding an extra empty Mime section which was giving issues in some mail clients. You can see more information related to this here:!topic/gmail/aVoLmVuhV_c

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #26463 (closed)

Merge request reports