Retrieves messages from a mail server and resends them to a list of receivers.