require ["fileinto"];

if envelope :matches "from" "*" {
  fileinto "Sent";
}