You can use the 'woocommerce_email_additional_content_' . $this->id
.
Here you find a complete list of email ids.
So in your case:
woocommerce_email_additional_content_customer_refunded_order
for full refund
woocommerce_email_additional_content_customer_partially_refunded_order
for partial refund
Try this:
// edit the additional content of the "Refunded order" email
add_filter( 'woocommerce_email_additional_content_customer_refunded_order', 'custom_additional_content_customer_refunded_order', 99, 3 );
add_filter( 'woocommerce_email_additional_content_customer_partially_refunded_order', 'custom_additional_content_customer_refunded_order', 99, 3 );
function custom_additional_content_customer_refunded_order( $content, $object, $email ) {
$content = 'Your personalized additional content';
return $content;
}
The code has been tested and works. Add it to your active theme's functions.php.