initial commit. includes email listener