This function generates a complete MIMEMultipart email object from a
MailMessage protocol buffer. The body fields are sent as individual
alternatives if they are both present; otherwise, only one body part is sent.
Multiple entry email fields, such as 'To', 'Cc', and 'Bcc' are converted
to a list of comma-separated email addresses.
Args
protocol_message
Message protocol buffer to convert to a MIMEMultipart
message.
Returns
A MIMEMultipart message that represents the provided MailMessage.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-16 UTC."],[],[]]