[
    {
        "label": "Main",
        "rows": [
            [
                {"name":"emailAddress"},
                {"name":"status"}
            ],
            [
                {"name":"name"},
                {"name":"replyToAddress"}
            ],
            [
                {"name":"teams"},
                false
            ],
            [
                {"name":"addAllTeamUsers"},
                false
            ]
        ]
    },
    {
        "label": "IMAP",
        "rows": [
            [{"name": "useImap"}, {"name":"fetchSince"}],
            [
                {"name":"host"},{"name":"ssl"}
            ],
            [
                {"name":"port"},{"name":"username"}
            ],
            [
                {"name":"monitoredFolders"},{"name":"password"}
            ],
            [
                {"name":"keepFetchedEmailsUnread"}, {"name":"storeSentEmails"}
            ],
            [
                false, {"name":"sentFolder"}
            ],
            [{"name": "testConnection", "customLabel": null, "view": "views/inbound-email/fields/test-connection"}, false]
        ]
    },
    {
        "label": "Actions",
        "rows": [
            [
                {"name":"createCase"},
                {"name":"reply"}
            ],
            [
                {"name":"caseDistribution"},
                {"name":"replyEmailTemplate"}
            ],
            [
                {"name":"team"},
                {"name":"replyFromAddress"}
            ],
            [
                {"name":"targetUserPosition"},
                {"name":"replyFromName"}
            ],
            [
                {"name":"assignToUser"},
                false
            ]
        ]
    },
    {
        "label": "SMTP",
        "rows": [
            [{"name": "useSmtp"}, false],
            [{"name": "smtpIsShared"}, {"name": "smtpIsForMassEmail"}],
            [{"name": "smtpHost"}, {"name": "smtpPort"}],
            [{"name": "smtpAuth"}, {"name": "smtpSecurity"}],
            [{"name": "smtpUsername"}, {"name": "smtpAuthMechanism"}],
            [{"name": "smtpPassword"}, false],
            [{"name": "fromName"}, false],
            [
                {"name": "smtpTestSend", "customLabel": null, "view": "views/inbound-email/fields/test-send"}, false
            ]
        ]
    }
]
