from plone.app.contenttypes.content import Folder
from plone.base.interfaces import INonStructuralFolder
from ploneintranet.workspace.interfaces import IMail
from zope.interface import implementer


@implementer(IMail, INonStructuralFolder)
class Mail(Folder):
    """Convenience subclass for ``ploneintranet.workspace.mail`` portal type"""

    disable_add_from_sidebar = True
