chronicle-email 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: dc59f3989349d41ca82714928ef7dac76b8de15e574957f1ba1e43ef4d9d5582
4
+ data.tar.gz: ac02b231fc27d2d01d46df43cbcd21ef2942fcacca44b651e7d610fff0011b7f
5
+ SHA512:
6
+ metadata.gz: af08b7775a33f812b4eb1f3521ee50b5d909a29871699c033a7090949a1a557e366da54bb869cfc2f74bc4e0f2af995535c81328c627ac941cb77def96b44a71
7
+ data.tar.gz: 54eac88a9005c840bfe1b0e289f2e063e9a9a40dfdf064c82bec51b7e985a5d911b59633ddffd2f37d4c605add8d9ae738bec886a21fc127c5c6efa364f069b3
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+ .DS_Store
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1 @@
1
+ 2.7.1
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.4
7
+ before_install: gem install bundler -v 1.17.2
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at andrew@hyfen.net. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in chronicle-email.gemspec
6
+ gemspec
@@ -0,0 +1,85 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ chronicle-email (0.1.0)
5
+ chronicle-etl (~> 0.1.3)
6
+ email_reply_parser (~> 0.5)
7
+ mail (~> 2.7)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ byebug (11.1.3)
13
+ chronicle-etl (0.1.3)
14
+ colorize (~> 0.8.1)
15
+ thor (~> 0.20)
16
+ tty-progressbar (~> 0.17)
17
+ tty-table (~> 0.11)
18
+ coderay (1.1.3)
19
+ colorize (0.8.1)
20
+ diff-lcs (1.4.4)
21
+ email_reply_parser (0.5.10)
22
+ equatable (0.6.1)
23
+ mail (2.7.1)
24
+ mini_mime (>= 0.1.1)
25
+ method_source (1.0.0)
26
+ mini_mime (1.0.2)
27
+ necromancer (0.6.0)
28
+ pastel (0.7.4)
29
+ equatable (~> 0.6)
30
+ tty-color (~> 0.5)
31
+ pry (0.13.1)
32
+ coderay (~> 1.1)
33
+ method_source (~> 1.0)
34
+ pry-byebug (3.9.0)
35
+ byebug (~> 11.0)
36
+ pry (~> 0.13.0)
37
+ rake (13.0.1)
38
+ rspec (3.9.0)
39
+ rspec-core (~> 3.9.0)
40
+ rspec-expectations (~> 3.9.0)
41
+ rspec-mocks (~> 3.9.0)
42
+ rspec-core (3.9.2)
43
+ rspec-support (~> 3.9.3)
44
+ rspec-expectations (3.9.2)
45
+ diff-lcs (>= 1.2.0, < 2.0)
46
+ rspec-support (~> 3.9.0)
47
+ rspec-mocks (3.9.1)
48
+ diff-lcs (>= 1.2.0, < 2.0)
49
+ rspec-support (~> 3.9.0)
50
+ rspec-support (3.9.3)
51
+ strings (0.1.8)
52
+ strings-ansi (~> 0.1)
53
+ unicode-display_width (~> 1.5)
54
+ unicode_utils (~> 1.4)
55
+ strings-ansi (0.1.0)
56
+ thor (0.20.3)
57
+ tty-color (0.5.2)
58
+ tty-cursor (0.7.1)
59
+ tty-progressbar (0.17.0)
60
+ strings-ansi (~> 0.1.0)
61
+ tty-cursor (~> 0.7)
62
+ tty-screen (~> 0.7)
63
+ unicode-display_width (~> 1.6)
64
+ tty-screen (0.8.1)
65
+ tty-table (0.11.0)
66
+ equatable (~> 0.6)
67
+ necromancer (~> 0.5)
68
+ pastel (~> 0.7.2)
69
+ strings (~> 0.1.5)
70
+ tty-screen (~> 0.7)
71
+ unicode-display_width (1.7.0)
72
+ unicode_utils (1.4.0)
73
+
74
+ PLATFORMS
75
+ ruby
76
+
77
+ DEPENDENCIES
78
+ bundler (~> 2.1)
79
+ chronicle-email!
80
+ pry-byebug (~> 3.9)
81
+ rake (~> 13.0)
82
+ rspec (~> 3.9)
83
+
84
+ BUNDLED WITH
85
+ 2.1.4
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Andrew Louis
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,16 @@
1
+ # Chronicle::Email
2
+
3
+ Email importer for [chronicle-etl](https://github.com/chronicle-app/chronicle-etl)
4
+
5
+ ## Available classes
6
+ - `email:mbox` - Extractor for processing .mbox files
7
+ - `email:chronicle` - Transformer that converts an email into a chronicle schema
8
+
9
+ ## Usage
10
+
11
+ ```bash
12
+ gem install chronicle-etl
13
+ gem install chronicle-email
14
+
15
+ chronicle-etl --extractor email:mbox --extractor-opts filename:"./mail.mbox" --transformer email:chronicle --loader stdout
16
+ ```
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "chronicle/email"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,47 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "chronicle/email/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "chronicle-email"
8
+ spec.version = Chronicle::Email::VERSION
9
+ spec.authors = ["Andrew Louis"]
10
+ spec.email = ["andrew@hyfen.net"]
11
+
12
+ spec.summary = "Email importer for Chronicle"
13
+ spec.description = "Various email importers for chronicle-etl"
14
+ spec.homepage = "https://github.com/chronicle-app/chronicle-email"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
21
+
22
+ spec.metadata["homepage_uri"] = spec.homepage
23
+ spec.metadata["source_code_uri"] = "https://github.com/chronicle-app/chronicle-email"
24
+ spec.metadata["changelog_uri"] = "https://github.com/chronicle-app/chronicle-email"
25
+ else
26
+ raise "RubyGems 2.0 or newer is required to protect against " \
27
+ "public gem pushes."
28
+ end
29
+
30
+ # Specify which files should be added to the gem when it is released.
31
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
32
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
33
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
34
+ end
35
+ spec.bindir = "exe"
36
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
37
+ spec.require_paths = ["lib"]
38
+
39
+ spec.add_dependency "chronicle-etl", "~> 0.1.3"
40
+ spec.add_dependency "mail", "~> 2.7"
41
+ spec.add_dependency 'email_reply_parser', '~> 0.5'
42
+
43
+ spec.add_development_dependency "bundler", "~> 2.1"
44
+ spec.add_development_dependency "rake", "~> 13.0"
45
+ spec.add_development_dependency "rspec", "~> 3.9"
46
+ spec.add_development_dependency "pry-byebug", "~> 3.9"
47
+ end
@@ -0,0 +1,9 @@
1
+ require "chronicle/email/version"
2
+ require "chronicle/email/chronicle_transformer"
3
+ require "chronicle/email/mbox_extractor"
4
+
5
+ module Chronicle
6
+ module Email
7
+ PROVIDER_NAME = "email"
8
+ end
9
+ end
@@ -0,0 +1,150 @@
1
+ require 'chronicle/etl'
2
+ require 'mail'
3
+ require 'timeout'
4
+ require 'email_reply_parser'
5
+
6
+ module Chronicle
7
+ module Email
8
+ class ChronicleTransformer < Chronicle::Etl::Transformer
9
+ def transform data
10
+ message = Mail.new(data.b)
11
+ build_messaged(message)
12
+ end
13
+
14
+ def build_messaged message
15
+ {
16
+ type: 'activities',
17
+ attributes: {
18
+ verb: 'messaged',
19
+ end_at: message.date,
20
+ provider: 'email',
21
+ provider_id: message.message_id,
22
+ },
23
+ meta: { dedupe_on: 'verb,provider,provider_id'},
24
+ relationships: {
25
+ actor: { data: build_actor(message) },
26
+ involved: { data: build_message(message) }
27
+ }
28
+ }
29
+ end
30
+
31
+ def build_actor message
32
+ # sometimes From: fields are malformed and we can't build an
33
+ # actor out of it.
34
+ return unless message[:from] && message[:from].addrs && message[:from].addrs.any?
35
+
36
+ {
37
+ type: 'entities',
38
+ attributes: {
39
+ represents: 'identity',
40
+ provider: 'email',
41
+ slug: message[:from].addrs.first.address,
42
+ title: message[:from].addrs.first.display_name
43
+ },
44
+ meta: { dedupe_on: 'represents,provider,slug'}
45
+ }
46
+ end
47
+
48
+ def build_message message
49
+ {
50
+ type: 'entities',
51
+ attributes: {
52
+ represents: 'message',
53
+ title: clean_subject(message.subject),
54
+ body: clean_body(message),
55
+ provider: 'email',
56
+ provider_id: message.message_id
57
+ },
58
+ meta: { dedupe_on: 'represents,provider,provider_id'},
59
+ relationships: {
60
+ consumers: { data: build_consumers(message) },
61
+ antecedents: { data: build_references(message) },
62
+ owners: { data: build_account(message) },
63
+ # contains: { data: build_attachments(message) }
64
+ }
65
+ }
66
+ end
67
+
68
+ def build_account message
69
+ return unless account_email = [message.header['delivered-to']].flatten[0]&.value
70
+
71
+ {
72
+ type: 'entities',
73
+ attributes: {
74
+ represents: 'identity',
75
+ provider: 'email',
76
+ slug: account_email
77
+ },
78
+ meta: { dedupe_on: 'provider,slug,represents' }
79
+ }
80
+ end
81
+
82
+ def build_consumers(message)
83
+ to = []
84
+ to += message[:to].addrs if message[:to]
85
+ to += message[:cc].addrs.flatten.compact if message[:cc]
86
+
87
+ to.collect do |consumer|
88
+ {
89
+ type: 'entities',
90
+ attributes: {
91
+ represents: 'identity',
92
+ provider: 'email',
93
+ slug: consumer.address,
94
+ title: consumer.display_name
95
+ },
96
+ meta: { dedupe_on: 'provider,slug' }
97
+ }
98
+ end
99
+ end
100
+
101
+ def build_references(message)
102
+ references = [message.references].flatten.compact
103
+ references.collect{|reference|
104
+ {
105
+ type: 'entities',
106
+ attributes: {
107
+ represents: 'message',
108
+ provider: 'email',
109
+ provider_id: reference
110
+ },
111
+ meta: { dedupe_on: 'represents,provider,provider_id' }
112
+ }
113
+ }
114
+ end
115
+
116
+ def clean_subject(subject)
117
+ subject&.encode("UTF-8", invalid: :replace, undef: :replace)
118
+ end
119
+
120
+ def clean_body message
121
+ # FIXME: this all needs to be refactored
122
+
123
+ if message.multipart?
124
+ body = message.text_part&.decoded rescue Mail::UnknownEncodingType
125
+ else
126
+ body = message.body&.decoded rescue Mail::UnknownEncodingType
127
+ end
128
+
129
+ if body && body != ""
130
+ begin
131
+ # regex in EmailReplyParse gem seems to get into infinite loops with
132
+ # certain long bodies that have binary data
133
+ parsed_body = Timeout::timeout(5) do
134
+ EmailReplyParser.parse_reply(body)
135
+ end
136
+ rescue Timeout::Error => e
137
+ return nil
138
+ rescue StandardError => e # Whackamole game with these parsing / encoding problems
139
+ return nil
140
+ end
141
+
142
+ # Force UTF-8 encoding
143
+ return parsed_body.encode("UTF-8", invalid: :replace, undef: :replace)
144
+ else
145
+ return nil
146
+ end
147
+ end
148
+ end
149
+ end
150
+ end
@@ -0,0 +1,41 @@
1
+ require 'chronicle/etl'
2
+ require 'mail'
3
+ require 'tempfile'
4
+
5
+ module Chronicle
6
+ module Email
7
+ class MboxExtractor < Chronicle::Etl::Extractor
8
+ # mbox format is a bunch of emails concatanated together, separated
9
+ # by a line that starts with "From "
10
+ NEW_EMAIL_REGEX = Regexp.new('^From [^\s]+ .{24}')
11
+
12
+ def results_count
13
+ file = File.open(@options[:filename])
14
+ count = 0
15
+ file.each do |line|
16
+ count += 1 if line =~ NEW_EMAIL_REGEX
17
+ end
18
+ return count
19
+ end
20
+
21
+ def extract
22
+ file = File.open(@options[:filename])
23
+ tmp = Tempfile.new('chronicile-mbox')
24
+
25
+ file.each do |line|
26
+ if line =~ NEW_EMAIL_REGEX
27
+ if File.size(tmp) > 0
28
+ tmp.rewind
29
+ email = tmp.read
30
+ yield email
31
+ tmp.truncate(0)
32
+ tmp.rewind
33
+ end
34
+ end
35
+ tmp.write(line)
36
+ end
37
+ file.close
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,5 @@
1
+ module Chronicle
2
+ module Email
3
+ VERSION = "0.1.0"
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,161 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: chronicle-email
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Andrew Louis
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-08-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: chronicle-etl
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.1.3
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.1.3
27
+ - !ruby/object:Gem::Dependency
28
+ name: mail
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.7'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.7'
41
+ - !ruby/object:Gem::Dependency
42
+ name: email_reply_parser
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.5'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.5'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.1'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '13.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '13.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.9'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.9'
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry-byebug
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.9'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.9'
111
+ description: Various email importers for chronicle-etl
112
+ email:
113
+ - andrew@hyfen.net
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".rspec"
120
+ - ".ruby-version"
121
+ - ".travis.yml"
122
+ - CODE_OF_CONDUCT.md
123
+ - Gemfile
124
+ - Gemfile.lock
125
+ - LICENSE.txt
126
+ - README.md
127
+ - Rakefile
128
+ - bin/console
129
+ - bin/setup
130
+ - chronicle-email.gemspec
131
+ - lib/chronicle/email.rb
132
+ - lib/chronicle/email/chronicle_transformer.rb
133
+ - lib/chronicle/email/mbox_extractor.rb
134
+ - lib/chronicle/email/version.rb
135
+ homepage: https://github.com/chronicle-app/chronicle-email
136
+ licenses:
137
+ - MIT
138
+ metadata:
139
+ homepage_uri: https://github.com/chronicle-app/chronicle-email
140
+ source_code_uri: https://github.com/chronicle-app/chronicle-email
141
+ changelog_uri: https://github.com/chronicle-app/chronicle-email
142
+ post_install_message:
143
+ rdoc_options: []
144
+ require_paths:
145
+ - lib
146
+ required_ruby_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ requirements: []
157
+ rubygems_version: 3.1.2
158
+ signing_key:
159
+ specification_version: 4
160
+ summary: Email importer for Chronicle
161
+ test_files: []