Preview email before actually sending them using Node.js

Why does it matter to not send an email during development on local? At times, while doing development we tend to send an email intentionally or unintentionally to verify the email functionality for a specific feature which intern could lead to getting bombarded with testing emails which is of no use. Then it could be possible that the developer needed to reply on the same email saying, “Please ignore the last mail as it was by mistakenly sent during testing on local” The situation still could be handled with peace when the victim is the colleague of yours What if