Create mail session.
		
		:param resort.engine.execution.Context context:
		   Current execution context.

def insert(self, context):
	
		"""
		Create mail session.
		
		:param resort.engine.execution.Context context:
		   Current execution context.
		"""
		
		status_code, msg = self.__endpoint.post(
			"/resources/mail-resource",
			data={
				"id": self.__name,
				"host": self.__host,
				"user": self.__username,
				"from": self.__mail_from,
				"property": props_value(self.__props)
			}
		)
		self.__available = True