diff --git a/app/Console/Commands/FetchEmails.php b/app/Console/Commands/FetchEmails.php index 7c8ca30a..d104cd6c 100644 --- a/app/Console/Commands/FetchEmails.php +++ b/app/Console/Commands/FetchEmails.php @@ -154,7 +154,9 @@ class FetchEmails extends Command } $unseen = \Eventy::filter('fetch_emails.unseen', $this->option('unseen'), $mailbox); - $this->line('['.date('Y-m-d H:i:s').'] Fetching: '.($unseen ? 'UNREAD' : 'ALL')); + if ($unseen != $this->option('unseen')) { + $this->line('['.date('Y-m-d H:i:s').'] Fetching: '.($unseen ? 'UNREAD' : 'ALL')); + } foreach ($folders as $folder) { $this->line('['.date('Y-m-d H:i:s').'] Folder: '.$folder->name);