protected function prepare_merge_vars( array $notifications ) {

		$merge_vars = array();

		foreach ( $notifications as $notification ) {
			$merge = array(
				'rcpt' => $notification->get_recipient()->user_email,
				'vars' => array()
			);

			foreach ( $notification->get_tags() as $tag => $val ) {

				$tag = str_replace( array( '{', '}' ), '', $tag );

				$merge['vars'][] = array(
					'name'    => $tag,
					'content' => $val
				);
			}

			$merge_vars[] = $merge;
		}

		return $merge_vars;
	}