elog: Implemented sending messages in the background and in bulks