Introduce the function to reconstruct the emails from the storage.

This does not create an exact reconstruction, due to potential
differneces in encoding and things like header whitespace; however, for
practical purposes this should be as good as the original.