When an email fails to be delivered, the system logs the failure and schedules a retry. The retry may occur after a predefined interval, which can be set based on the nature of the failure. For instance, if the failure is due to a temporary server issue, the retry might be scheduled for a few minutes later. If the issue persists, subsequent retries can be scheduled at increasing intervals.