'Send all queued emails to the test grid admin.'

def send_queued_admin(self):

    if (not self.email_queue):
        return
    subject = ('Notifications    (%s)    from    host:    %s' % (self.module, socket.gethostname()))
    separator = (('\n' + ('-' * 40)) + '\n')
    body = separator.join(self.email_queue)
    self.send_admin(subject, body)
    self.email_queue = []
