<mail:subject>
	{{ phrase('new_thread_in_watched_forum_x', {
		'title': prefix('thread', $thread, 'escaped') . $thread.title
	}) }}
</mail:subject>

{{ phrase('watched_forum_thread_email_html', {
	'receiver': $receiver.username,
	'replier': username_link_email($post.User, $post.username),
	'board': '<a href="' . link('canonical:index') . '">' . $xf.options.boardTitle . '</a>'
}) }}

<h2><a href="{{ link('canonical:posts', $post) }}">{{ prefix('thread', $thread, 'escaped') }}{$thread.title}</a></h2>

<xf:if is="$xf.options.emailWatchedThreadIncludeMessage">
	<div class="message">{{ bb_code_type('emailHtml', $post.message, 'post', $post) }}</div>
</xf:if>

<xf:macro id="thread_forum_macros::go_thread_bar" arg-thread="{$thread}" arg-watchType="forums" />

<xf:macro id="thread_forum_macros::watched_forum_footer" arg-thread="{$thread}" arg-forum="{$forum}" />