let me turn this into a plugin

This commit is contained in:
kento2 2026-02-15 10:35:57 +01:00
parent 145a3116bc
commit 5a4ae1b7f1
4 changed files with 35 additions and 8 deletions

View file

@ -0,0 +1,12 @@
package de.kentoj.scrow.services.mail;
import lombok.Value;
import java.util.UUID;
@Value
public class Mail {
UUID from;
String subject;
String body;
}

View file

@ -0,0 +1,13 @@
package de.kentoj.scrow.services.mail;
import reactor.core.publisher.Mono;
import java.util.UUID;
/**
* like email but for minecraft
*/
public interface MailService {
Mono<Long> sendMail(UUID to, Mail mail);
}