import re


def remove_html_tags(text):
    """
    All HTML tags are removed from the emails.
    Many emails often come with HTML formatting; we remove all the
    HTML tags, so that only the content remains.
    :param text:
    :return: string without html tags
    """

    clean = re.compile(r'<.*?>')
    return re.sub(clean, '', text)