Added email registry and command functionality to accompany it.