Extract to submodules

Extract mail subfolders to separate submodules to use these repositories separately.