syntax = "proto3";

package email;
option go_package = "git-molva.ru/Molva/molva-notification-service;notification";

service EmailService {
  rpc SendEmail(SendEmailRequest) returns (SendEmailResponse) {}
}

message SendEmailRequest {
  string from = 1;
  repeated string to = 2;
  string subject = 3;
  string content_type = 4;
  bytes body = 5;
}

message SendEmailResponse {
  uint64 status_code = 1;
  string error_message = 2;
}