Revert "Revert "Email PHP Script""

This reverts commit e8eb419bf82de5c052c9ef2422deb2460b2fa9d0.
Revert "Revert "Revert "Email PHP Script"""

This reverts commit faef27f26bed5efd068365505b1953377dde393c.