added handling message sending options