Moved invite email and registration email into emailer module