When to skip the letter

Large-employer portals with an optional upload, high-volume roles, recruiter-led processes where you have already spoken to someone, and any application where you would be pasting a template with the company name swapped. A generic letter is worse than none. If the posting lists a cover letter as required, it is part of a complete application, so send one.