Fix fatal error on getting mailer

Getting mailer from service container caused fatal error (infinite nesting loop)