This is an abstraction violation.  It would be better for the DAO layer not to depend upon controller layer considerations (Portlet requests).  An `IMailAccountDao` ought to be usable in a non-portlet.