Minor fixes to sycnmail