oauthGetParam('provider') == \MailHelper::OAUTH_PROVIDER_MICROSOFT) class="text-success" @endif>Microsoft Exchange @if (!$mailbox->oauthEnabled()) @if ($mailbox->in_username && $mailbox->in_password && !strstr($mailbox->in_username, '@')) – {{ __('Connect') }} @endif @elseif ($mailbox->oauthGetParam('provider') == \MailHelper::OAUTH_PROVIDER_MICROSOFT && $in_oauth_enabled) – {{ __('Disconnect') }} @endif ({{ __('Help') }})