WIP-Jg fog email

Email functionality working properly for local branch
done