extract mail throttler into own class