Lookup#format_email correctly formats target email according to criteria