It'd also be better I think to use `email` instead of `ni` to be more clear about what's happening here. `ni` refers to a dict of flags elsewhere.