I found Wired1's solution https://www.thingiverse.com/thing:29572 most suitable for my use. Then the heatsink I ordered arrived and I wanted to add that in for an additional cooling effect.
(FYI, the addition of a heatsink to the motor only reduced the motor temperature by around 5℃ to 8℃ for me, whereas adding a fan lowered the motor temperature by around 20℃.)
Minor changes:
*****
Want to buy me a coffee?
https://www.buymeacoffee.com/zer0s
Clicking on my affiliate links below will give me a small kickback if you purchase something. (at no extra cost to you)
AliExpress affiliate links:
NEMA17 heatsink
https://s.click.aliexpress.com/e/_DnrdEiz
Threaded brass inserts
https://s.click.aliexpress.com/e/_DDrNOIH
*****
Consolidated affiliate links of other 3D printing-related items:
https://wp.me/peMLu6-j
For Amazon affiliate links
https://wp.me/peMLu6-2C