Autoproc: fix for email config bug, check for zero unit cell