mailgun, compile-stats uses taskqueues.

Various changes: adding mailgun support. Offloading compile stats to taskqueues.