code cleanup; turn MailSource interface into an abstract class