Refactored email encoding into server side and client side functions. #54

Open
wants to merge 3 commits into
from