renderTemplate("api/message.json",message);
}
*/
public static void get(Long id) {
User current = getCurrentUser();
OutboxMessage message = OutboxMessage.getSent(id, current);
if(message==null) notFound();
//if(message.owner.id.longValue() != current.id.longValue()) forbidden();
renderTemplate("api/message.json",message);
}