@component('mail::message')

# Dear {{ '@' . $user->username }}, moderator of [#{{ $category->name }}](https://voten.co/c/{{ $category->name }}?ref=email)

During the beta phase, to keep the community clean and active, we are deleting all the inactive channels that haven't had any activities in the last 60 days. Your **#{{ $category->name }}** channel hasn't had any activities in **{{ $category->submissions()->orderBy('created_at', 'desc')->first()->created_at->diffInDays() }} days**. Thus, In case you intend to keep your channel alive, please start posting to it. Otherwise, just ignore this email.

We'll begin deleting inactive channels a week after the date of sending this email.

@component('mail::button', ['url' => config('app.url') . '/c/' . $category->name . '?ref=email'])
    Go to #{{ $category->name }}
@endcomponent

Thank you for being a Voten moderator!<br>
The Voten Team

@component('mail::subcopy')
    Need help? Check out our [Help Center](https://voten.co/help), ask [community](https://voten.co/c/VotenSupport), or hit us up on Twitter [@voten_co](https://twitter.com/voten_co).
    Want to give us feedback? Let us know what you think on our [feedback page](https://voten.co/feedback).
@endcomponent

@endcomponent
@component('mail::message')

# Dear {{ '@' . $user->username }}, moderator of [#{{ $category->name }}](https://voten.co/c/{{ $category->name }}?ref=email)

During the beta phase, to keep the community clean and active, we are deleting all the inactive channels that haven't had any activities in the last 60 days. Your **#{{ $category->name }}** channel hasn't had any activities in **{{ optional($category->submissions()->orderBy('created_at', 'desc')->first())->created_at->diffInDays() }} days**. Thus, In case you intend to keep your channel alive, please start posting to it. Otherwise, just ignore this email.

We'll begin deleting inactive channels a week after the date of sending this email.

@component('mail::button', ['url' => config('app.url') . '/c/' . $category->name . '?ref=email'])
    Go to #{{ $category->name }}
@endcomponent

Thank you for being a Voten moderator!<br>
The Voten Team

@component('mail::subcopy')
    Need help? Check out our [Help Center](https://voten.co/help), ask [community](https://voten.co/c/VotenSupport), or hit us up on Twitter [@voten_co](https://twitter.com/voten_co).
    Want to give us feedback? Let us know what you think on our [feedback page](https://voten.co/feedback).
@endcomponent

@endcomponent
Fix "Trying to get property of non-object"
Fix "Trying to get property of non-object"
