add hook for email and git completion