def email_get_unread(imap, from_email_address):
    """Returns (status, list of UIDs) of unread emails from a sending email address.
    """
    search = '(UNSEEN UNFLAGGED FROM "{}")'.format(from_email_address)
    status, response = imap.search(None, search)
    if status != 'OK':
        return status, response
    # Return status and list of unread email UIDs.
    return status, response[0].split()