vodafone_handler.py — classifies emails arriving at john.vodafone@critchley.biz and prints important ones to stdout. Emails are kept on the MS Live server (empty set returned). See todo for future processing options.
process_vodafone_mails(mails) -> set — main handler. Classifies each email, prints bills and service notices prominently, returns empty set._classify(subject) -> str — returns 'bill', 'service', or 'marketing' based on subject regex matching._extract_bill_info(body) -> (amount, due) — regex extraction of bill amount (£/$/€ pattern) and due date from plain-text body._get_text_body(msg) -> str — extracts first text/plain part from a (possibly multipart) email.Message._decode_subject(msg) -> str — RFC2047 decodes the Subject header.