 				inbox:		!!props.inbox
 				#callback:	'alert'
 
+
+
 			#jQuery.getJSON @url, data, @onScheduleSuccess
 			log 'scheduling mail...', data
 

			return

		onMessage: (request, sender, sendResponse) =>
			# log request
			switch request.type
				when "fragment"
					@injectButtons()
				when "loaded"
					@injectButtons()
			return		

	mb = new MailButler
) jQuery, window

			if navs.length > 0
				navs.append @composeButton MailButler.TYPE_NAV
			else
				log 'Could not find compose button bar'
			return

		injectThread: ->
			sels = [
				'.iH > div,[gh="mtb"] > div'
				"[gh='tm'] > div:first-child > div"
				'.aeH > div > div:first-child > div'
			]

			threads = ($ sels.join ',').filter (index) ->
				($ ".#{MailButler.MB_CLASS_THREAD}", @).length is 0
			
			if threads.length > 0
				threads.append @composeButton MailButler.TYPE_THREAD
			else
				log 'Could not find thread button bar'
			return

		copyAttrs: (attrs, source, target) ->
