The directory generated by mailmatic setup dirname will not contain an empty emails dir. The mailmatic build dirname command will then fail on that directory not being found. Simple solution: have the generator create that empty directory with a .gitkeep file.