Add smtp support to notify the flush were correctly done.