Priority Queue

I've implemented a priority queue, because sometimes is necessary to send a big list of emails, but other application's emails should be delivered in short time.