RFR-Jg fog email

Email functionality working properly for local branch
hmm don't know why that was not done the rails way. but done.