Adding in some saving and loading logic for emails