Reimplement email-automata; add capturing email login and domain