blob: ef4c54203dec0086f9c0a4ad969df0e0a6afbece [file] [log] [blame]
// Copyright 2017 The LUCI Authors. All rights reserved.
// Use of this source code is governed under the Apache License, Version 2.0
// that can be found in the LICENSE file.
// Messages for the task queue.
syntax = "proto3";
option go_package = "go.chromium.org/luci/luci_notify/internal";
package internal;
// EmailTask represents a single email notification to be dispatched.
message EmailTask {
// Recipients is a list of email addresses to send the email to.
// TODO(nodir): make it non-repeated.
repeated string recipients = 1;
// Subject is the subject line of the email to be sent.
string subject = 2;
// DEPRECATED. See body_gzip.
string body = 3;
// Gzipped, HTML-formatted string containing the body of the email
// to be sent.
bytes body_gzip = 4;
}