Skip to content

Conversation

@rntk
Copy link
Contributor

@rntk rntk commented Jan 28, 2025

Slack has a feature called 'Send emails to Slack' - https://slack.com/intl/en-gb/help/articles/206819278-Send-emails-to-Slack

When emails are sent to this channel, they become Slack files with additional fields containing sender and receiver information.

I added two new fields to properly support the unmarshaling of file metadata.

@nlopes nlopes self-requested a review January 28, 2025 14:41
@nlopes
Copy link
Collaborator

nlopes commented Feb 1, 2025

Thank you!

@nlopes nlopes merged commit 1c78410 into slack-go:master Feb 1, 2025
7 checks passed
nlopes added a commit that referenced this pull request Mar 9, 2025
add Headers field to support headers of an email file attachment.

Example: 
```
"headers": {
    "date": "Thu, 23 Jan 2025 18:09:25 +0100",
    "in_reply_to": null,
    "reply_to": null,
    "message_id": "<email_provider_message_id>"
},
```

related to #1370
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants