The old PHP port of the PERL email gateway with some enhancements.