Back to Paperless Ngx

Mail.Component

src-ui/src/app/components/manage/mail/mail.component.html

2.20.151.1 KB
Original Source

Mail accounts Add Account @if (gmailOAuthUrl) { Connect Gmail Account } @if (outlookOAuthUrl) { Connect Outlook Account }

Name

Server

Username

Actions

@if (loadingAccounts) { -

Loading... } @for (account of mailAccounts; track account) { -

{{account.name}}@switch (account.account_type) { @case (MailAccountType.IMAP) {} @case (MailAccountType.Gmail_OAuth) {} @case (MailAccountType.Outlook_OAuth) {} }

{{account.imap_server}}

{{account.username}}

EditPermissionsDeleteProcess Mail

Edit Permissions Delete

Process Mail

} @if (!loadingAccounts && mailAccounts.length === 0) { - No mail accounts defined. }

Mail rules Add Rule

Name

Sort Order

Account

Status

Processed Mail

Actions

@if (loadingRules) { -

Loading... } @for (rule of mailRules; track rule) { -

{{rule.name}}

{{rule.order}}

{{(mailAccountService.getCached(rule.account) | async)?.name}}

@if(rule.enabled) { Enabled } @else { Disabled }

View Processed Mail

EditPermissionsDeleteCopy

Edit Permissions Delete

Copy

} @if (!loadingRules && mailRules.length === 0) { - No mail rules defined. } @if (!mailAccounts || !mailRules) {

Loading...

}