Proton Mail Export allows you to export your emails as eml files.
git submodule update --init --recursive
cmake -S. -B $BUILD_DIR -G <Insert favorite Generator>
cmake --build $BUILD_DIR
cmake -S. -B $BUILD_DIR -G "Visual Studio 17 2022" -DVCPKG_TARGET_TRIPLET=x64-windows-static
cmake --build $BUILD_DIR --config Release
Note: An active internet connection is required in otder to dowload a standalone MingW compiler in order to compile the CGO module.