Create emailer library, add confirmation, and base confirmation controller