def get_message_body(email_message):
    candidate = None
    if email_message.is_multipart():
        for message_part in email_message.walk():
            if is_plaintext(message_part):
                return message_part
            elif is_text(message_part) and candidate is not None:
                candidate = message_part
    else:
        # we don't really have a choice here
        return email_message
    return candidate
Each user will get their own notification.
dataset/ETHPy150Open rapidsms/rapidsms-core-dev/lib/rapidsms/backends/email.py/get_message_body--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/custom/ewsghana/tests/test_notifications.py/MissingReportNotificationTestCase.test_multiple_users