Added is_published column to emails table