if is was just a missing dll i think it would still generate ok. it would just fail upon running the mail code.
I think something else must have changed since it is the generation fails.
change the log setting from summary to debug mode. maybe it will give more info