wip API email queuing