def is_plaintext(email_message):
    return re.match(r"^text/plain", email_message.get_content_type(), re.IGNORECASE)
Fetches and removes a due item from the queue.
dataset/ETHPy150Open rapidsms/rapidsms-core-dev/lib/rapidsms/backends/email.py/is_plaintext--crossover with--dataset/ETHPy150Open getsentry/freight/freight/notifiers/queue.py/NotificationQueue.get