Skip to content

Commit ee07e96

Browse files
authored
.eml file type support (#96)
* feat: add .eml support * feat: add .msg support
1 parent bc55a91 commit ee07e96

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

models/file.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ class FileType(Enum):
1414
xlsx = "XLSX"
1515
html = "HTML"
1616
json = "JSON"
17+
eml = "EML"
18+
msg = "MSG"
1719

1820
def suffix(self) -> str:
1921
suffixes = {
@@ -26,6 +28,8 @@ def suffix(self) -> str:
2628
"PPTX": ".pptx",
2729
"HTML": ".html",
2830
"JSON": ".json",
31+
"EML": ".eml",
32+
"MSG": ".msg",
2933
}
3034
return suffixes[self.value]
3135

0 commit comments

Comments
 (0)