go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/luci_notify/internal/tq.proto (about)

     1  // Copyright 2017 The LUCI Authors. All rights reserved.
     2  // Use of this source code is governed under the Apache License, Version 2.0
     3  // that can be found in the LICENSE file.
     4  
     5  // Messages for the task queue.
     6  
     7  syntax = "proto3";
     8  
     9  option go_package = "go.chromium.org/luci/luci_notify/internal";
    10  
    11  package internal;
    12  
    13  // EmailTask represents a single email notification to be dispatched.
    14  message EmailTask {
    15    // Recipients is a list of email addresses to send the email to.
    16    // TODO(nodir): make it non-repeated.
    17    repeated string recipients = 1;
    18  
    19    // Subject is the subject line of the email to be sent.
    20    string subject = 2;
    21  
    22    // DEPRECATED. See body_gzip.
    23    string body = 3;
    24  
    25    // Gzipped, HTML-formatted string containing the body of the email
    26    // to be sent.
    27    bytes body_gzip = 4;
    28  }