email manager code for dealing with additions of new contacts