What Exactly Is the Difference Between Email Jobs and Job Queue Entries?

Question

What exactly is the difference between email jobs and job queue entries?

Answer

A job queue entry is defined to schedule a task: running a report or a codeunit. It is part of standard Business Central.

The email job defines filters on email templates and records as well as timeframes for when the job may be executed, but without the job queue entry, the email job cannot do anything.

The job queue runs the Document Output codeunit that runs over each of the email jobs and executes them: for instance the sales invoice job sees if the current time is in the allowed period, and if there are records within the filter, handles them accordingly (email, print, CDN...).