@if (mail) {
@for (label of labels; track trackByFn($index, label)) {
{{ label.title }}
}
@if (mail.unread) { } @if (!mail.unread) { } @if ( getCurrentFolder() !== 'spam' && getCurrentFolder() !== 'drafts' ) { } @if (getCurrentFolder() === 'spam') { } @if (getCurrentFolder() !== 'trash') { }
{{ mail.subject }}
@if (mail.labels && mail.labels.length > 0) {
@for ( label of mail.labels | fuseFindByKey: 'id' : labels; track label ) {
{{ label.title }}
}
}
User avatar
{{ mail.from.contact.split('<')[0].trim() }}
to
me
@if (mail.ccCount + mail.bccCount > 0) {
and {{ mail.ccCount + mail.bccCount }} other others
}
from:
{{ mail.from.contact }}
to:
{{ mail.to }}
@if (mail.cc) {
cc:
{{ mail.cc.join(',\n') }}
} @if (mail.bcc) {
bcc:
{{ mail.bcc.join(',\n') }}
}
date:
{{ mail.date | date : 'EEEE, MMMM d, y - hh:mm a' }}
subject:
{{ mail.subject }}
@if (mail.attachments && mail.attachments.length > 0) {
{{ mail.attachments.length }} Attachments
@for ( attachment of mail.attachments; track attachment ) {
@if ( attachment.type.startsWith('image/') ) { } @if ( attachment.type.startsWith( 'application/' ) ) {
{{ attachment.type .split('/')[1] .trim() .toUpperCase() }}
}
{{ attachment.name }}
{{ attachment.size / 1000 | number: '1.0-2' }} KB
}
}
@if (!replyFormActive) {
} @if (replyFormActive) {
}
} @else {
Select a mail to read
}