Add emails in queue function