feat: initialize newsletter project with IMAP email processing and Discord integration
- Add Cargo.toml for project dependencies - Create Dockerfile for building and running the application - Add docker-compose configuration for service management - Implement email monitoring and processing in main.rs - Parse emails and send notifications to Discord - Include configuration file for IMAP and Discord settings
This commit is contained in:
commit
d9cc3c37b2
8 changed files with 2040 additions and 0 deletions
17
Cargo.toml
Normal file
17
Cargo.toml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[package]
|
||||
name = "newsletter"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
native-tls = { version = "0.2", features = ["vendored"] }
|
||||
imap = "2.4"
|
||||
mailparse = "0.14"
|
||||
reqwest = { version = "0.11", features = ["blocking", "json"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
toml = "0.8"
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue