extract email dispatcher from AR classes + add customization through config