Email Post: Optimal Scheduling of Periodic Gang Tasks