Add mail spec for compilation

mail spec was removed from the compilation after a bad merge