Adding email foundation