diff --git a/Gemfile.lock b/Gemfile.lock
deleted file mode 100644
index 1373ff5ab1fbe4443c38cded6da5bd5033b9825e..0000000000000000000000000000000000000000
--- a/Gemfile.lock
+++ /dev/null
@@ -1,663 +0,0 @@
-GIT
-  remote: https://github.com/c3sl/dspace-rest-client.git
-  revision: 07f49b52007160278e63b866a76e5f1cf800fa1b
-  branch: master
-  specs:
-    dspace_rest_client (3.1.0)
-      activesupport (>= 5.0)
-      faraday (>= 1.0.0)
-      json (>= 1.8.3, >= 1.8)
-      net-http-persistent (>= 2.9.4)
-      resource_kit (>= 0.1.4)
-
-GIT
-  remote: https://github.com/kreeti/kt-paperclip.git
-  revision: 7f73b7442743f57fb957b4bb54c1bca11ddd1c72
-  branch: master
-  specs:
-    kt-paperclip (7.1.1)
-      activemodel (>= 4.2.0)
-      activesupport (>= 4.2.0)
-      marcel (~> 1.0.1)
-      mime-types
-      terrapin (~> 0.6.0)
-
-GIT
-  remote: https://github.com/lynndylanhurley/devise_token_auth.git
-  revision: 8f44a8c66fd772b2d33be4ba187c0b1a47caba2a
-  branch: master
-  specs:
-    devise_token_auth (1.2.0)
-      bcrypt (~> 3.0)
-      devise (> 3.5.2, < 5)
-      rails (>= 4.2.0, < 7.1)
-
-GEM
-  remote: https://rubygems.org/
-  specs:
-    actioncable (7.0.3)
-      actionpack (= 7.0.3)
-      activesupport (= 7.0.3)
-      nio4r (~> 2.0)
-      websocket-driver (>= 0.6.1)
-    actionmailbox (7.0.3)
-      actionpack (= 7.0.3)
-      activejob (= 7.0.3)
-      activerecord (= 7.0.3)
-      activestorage (= 7.0.3)
-      activesupport (= 7.0.3)
-      mail (>= 2.7.1)
-      net-imap
-      net-pop
-      net-smtp
-    actionmailer (7.0.3)
-      actionpack (= 7.0.3)
-      actionview (= 7.0.3)
-      activejob (= 7.0.3)
-      activesupport (= 7.0.3)
-      mail (~> 2.5, >= 2.5.4)
-      net-imap
-      net-pop
-      net-smtp
-      rails-dom-testing (~> 2.0)
-    actionpack (7.0.3)
-      actionview (= 7.0.3)
-      activesupport (= 7.0.3)
-      rack (~> 2.0, >= 2.2.0)
-      rack-test (>= 0.6.3)
-      rails-dom-testing (~> 2.0)
-      rails-html-sanitizer (~> 1.0, >= 1.2.0)
-    actiontext (7.0.3)
-      actionpack (= 7.0.3)
-      activerecord (= 7.0.3)
-      activestorage (= 7.0.3)
-      activesupport (= 7.0.3)
-      globalid (>= 0.6.0)
-      nokogiri (>= 1.8.5)
-    actionview (7.0.3)
-      activesupport (= 7.0.3)
-      builder (~> 3.1)
-      erubi (~> 1.4)
-      rails-dom-testing (~> 2.0)
-      rails-html-sanitizer (~> 1.1, >= 1.2.0)
-    active_model_serializers (0.10.13)
-      actionpack (>= 4.1, < 7.1)
-      activemodel (>= 4.1, < 7.1)
-      case_transform (>= 0.2)
-      jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
-    activejob (7.0.3)
-      activesupport (= 7.0.3)
-      globalid (>= 0.3.6)
-    activemodel (7.0.3)
-      activesupport (= 7.0.3)
-    activerecord (7.0.3)
-      activemodel (= 7.0.3)
-      activesupport (= 7.0.3)
-    activerecord-import (1.4.0)
-      activerecord (>= 4.2)
-    activestorage (7.0.3)
-      actionpack (= 7.0.3)
-      activejob (= 7.0.3)
-      activerecord (= 7.0.3)
-      activesupport (= 7.0.3)
-      marcel (~> 1.0)
-      mini_mime (>= 1.1.0)
-    activesupport (7.0.3)
-      concurrent-ruby (~> 1.0, >= 1.0.2)
-      i18n (>= 1.6, < 2)
-      minitest (>= 5.1)
-      tzinfo (~> 2.0)
-    acts_as_list (1.0.4)
-      activerecord (>= 4.2)
-    addressable (2.8.0)
-      public_suffix (>= 2.0.2, < 5.0)
-    airbrussh (1.4.1)
-      sshkit (>= 1.6.1, != 1.7.0)
-    annotate (3.2.0)
-      activerecord (>= 3.2, < 8.0)
-      rake (>= 10.4, < 14.0)
-    ansi (1.5.0)
-    ast (2.4.2)
-    axiom-types (0.1.1)
-      descendants_tracker (~> 0.0.4)
-      ice_nine (~> 0.11.0)
-      thread_safe (~> 0.3, >= 0.3.1)
-    bcrypt (3.1.18)
-    benchmark-ips (2.10.0)
-    better_errors (2.8.3)
-      coderay (>= 1.0.0)
-      erubi (>= 1.0.0)
-      rack (>= 0.9.0)
-    bindex (0.8.1)
-    brakeman (5.2.3)
-    builder (3.2.4)
-    bullet (7.0.2)
-      activesupport (>= 3.0.0)
-      uniform_notifier (~> 1.11)
-    byebug (11.1.3)
-    capistrano (3.17.1)
-      airbrussh (>= 1.0.0)
-      i18n
-      rake (>= 10.0.0)
-      sshkit (>= 1.9.0)
-    capistrano-rsync-bladrak (1.3.8)
-      capistrano (>= 3.0.0.pre14, < 4)
-    case_transform (0.2)
-      activesupport
-    choice (0.2.0)
-    chronic (0.10.2)
-    climate_control (0.2.0)
-    coderay (1.1.3)
-    coercible (1.0.0)
-      descendants_tracker (~> 0.0.1)
-    concurrent-ruby (1.1.10)
-    connection_pool (2.2.5)
-    crass (1.0.6)
-    curb (1.0.1)
-    cvss (0.99.0)
-    dalli (3.2.2)
-    database_cleaner (2.0.1)
-      database_cleaner-active_record (~> 2.0.0)
-    database_cleaner-active_record (2.0.1)
-      activerecord (>= 5.a)
-      database_cleaner-core (~> 2.0.0)
-    database_cleaner-core (2.0.1)
-    dawnscanner (1.6.9)
-      cvss
-      haml
-      justify
-      logger-colors
-      ptools
-      ruby_parser
-      sqlite3
-      sys-uname
-      terminal-table
-    dead_end (4.0.0)
-    derailed_benchmarks (2.1.1)
-      benchmark-ips (~> 2)
-      dead_end
-      get_process_mem (~> 0)
-      heapy (~> 0)
-      memory_profiler (>= 0, < 2)
-      mini_histogram (>= 0.3.0)
-      rack (>= 1)
-      rack-test
-      rake (> 10, < 14)
-      ruby-statistics (>= 2.1)
-      thor (>= 0.19, < 2)
-    descendants_tracker (0.0.4)
-      thread_safe (~> 0.3, >= 0.3.1)
-    devise (4.8.1)
-      bcrypt (~> 3.0)
-      orm_adapter (~> 0.1)
-      railties (>= 4.1.0)
-      responders
-      warden (~> 1.2.3)
-    diff-lcs (1.5.0)
-    digest (3.1.0)
-    docile (1.4.0)
-    elasticsearch (5.0.5)
-      elasticsearch-api (= 5.0.5)
-      elasticsearch-transport (= 5.0.5)
-    elasticsearch-api (5.0.5)
-      multi_json
-    elasticsearch-transport (5.0.5)
-      faraday
-      multi_json
-    equalizer (0.0.11)
-    erubi (1.10.0)
-    execjs (2.8.1)
-    factory_bot (6.2.1)
-      activesupport (>= 5.0.0)
-    factory_bot_rails (6.2.0)
-      factory_bot (~> 6.2.0)
-      railties (>= 5.0.0)
-    faker (2.21.0)
-      i18n (>= 1.8.11, < 2)
-    faraday (1.9.0)
-      faraday-em_http (~> 1.0)
-      faraday-em_synchrony (~> 1.0)
-      faraday-excon (~> 1.1)
-      faraday-httpclient (< 3)
-      faraday-multipart (~> 1.0)
-      faraday-net_http (< 3)
-      faraday-net_http_persistent (< 3)
-      faraday-patron (< 3)
-      faraday-rack (~> 1.0)
-      faraday-retry (~> 1.0)
-      ruby2_keywords (>= 0.0.4)
-    faraday-em_http (1.0.0)
-    faraday-em_synchrony (1.0.0)
-    faraday-excon (1.1.0)
-    faraday-httpclient (2.0.1)
-      httpclient (>= 2.2)
-    faraday-multipart (1.0.4)
-      multipart-post (~> 2)
-    faraday-net_http (2.0.3)
-    faraday-net_http_persistent (2.0.1)
-      faraday-net_http
-      net-http-persistent (~> 4.0)
-    faraday-patron (2.0.1)
-      patron (>= 0.4.2)
-    faraday-rack (1.0.0)
-    faraday-retry (1.0.3)
-    feature (1.4.0)
-    ffi (1.15.5)
-    ffi-libarchive (1.1.3)
-      ffi (~> 1.0)
-    flamegraph (0.9.5)
-    flay (2.13.0)
-      erubi (~> 1.10)
-      path_expander (~> 1.0)
-      ruby_parser (~> 3.0)
-      sexp_processor (~> 4.0)
-    flog (4.6.5)
-      path_expander (~> 1.0)
-      ruby_parser (~> 3.1, > 3.1.0)
-      sexp_processor (~> 4.8)
-    get_process_mem (0.2.7)
-      ffi (~> 1.0)
-    gitlab (4.18.0)
-      httparty (~> 0.18)
-      terminal-table (>= 1.5.1)
-    globalid (1.0.0)
-      activesupport (>= 5.0)
-    haml (5.2.2)
-      temple (>= 0.8.0)
-      tilt
-    hashie (5.0.0)
-    heapy (0.2.0)
-      thor
-    httparty (0.20.0)
-      mime-types (~> 3.0)
-      multi_xml (>= 0.5.2)
-    httpclient (2.8.3)
-    i18n (1.10.0)
-      concurrent-ruby (~> 1.0)
-    ice_nine (0.11.2)
-    immigrant (0.3.6)
-      activerecord (>= 3.0)
-    json (2.6.2)
-    jsonapi-renderer (0.2.2)
-    justify (1.0.2)
-    jwt (2.4.1)
-    kwalify (0.7.2)
-    launchy (2.5.0)
-      addressable (~> 2.7)
-    logger-colors (1.0.0)
-    loofah (2.18.0)
-      crass (~> 1.0.2)
-      nokogiri (>= 1.5.9)
-    mail (2.7.1)
-      mini_mime (>= 0.1.1)
-    marcel (1.0.2)
-    memory_profiler (1.0.0)
-    method_source (1.0.0)
-    mime-types (3.4.1)
-      mime-types-data (~> 3.2015)
-    mime-types-data (3.2022.0105)
-    mimemagic (0.4.3)
-      nokogiri (~> 1)
-      rake
-    mina (1.2.4)
-      open4 (~> 1.3.4)
-      rake
-    mini_histogram (0.3.1)
-    mini_mime (1.1.2)
-    minitest (5.16.1)
-    minitest-reporters (1.5.0)
-      ansi
-      builder
-      minitest (>= 5.0)
-      ruby-progressbar
-    multi_json (1.15.0)
-    multi_xml (0.6.0)
-    multipart-post (2.2.3)
-    mustache (1.1.1)
-    mustermann (1.1.1)
-      ruby2_keywords (~> 0.0.1)
-    net-http-persistent (4.0.1)
-      connection_pool (~> 2.2)
-    net-imap (0.2.3)
-      digest
-      net-protocol
-      strscan
-    net-pop (0.1.1)
-      digest
-      net-protocol
-      timeout
-    net-protocol (0.1.3)
-      timeout
-    net-scp (4.0.0)
-      net-ssh (>= 2.6.5, < 8.0.0)
-    net-smtp (0.3.1)
-      digest
-      net-protocol
-      timeout
-    net-ssh (7.0.1)
-    nio4r (2.5.8)
-    nokogiri (1.13.6-x86_64-linux)
-      racc (~> 1.4)
-    oauth (0.5.10)
-    oauth2 (1.4.9)
-      faraday (>= 0.17.3, < 3.0)
-      jwt (>= 1.0, < 3.0)
-      multi_json (~> 1.3)
-      multi_xml (~> 0.5)
-      rack (>= 1.2, < 3)
-    omniauth (1.9.1)
-      hashie (>= 3.4.6)
-      rack (>= 1.6.2, < 3)
-    omniauth-facebook (9.0.0)
-      omniauth-oauth2 (~> 1.2)
-    omniauth-google-oauth2 (0.8.2)
-      jwt (>= 2.0)
-      oauth2 (~> 1.1)
-      omniauth (~> 1.1)
-      omniauth-oauth2 (>= 1.6)
-    omniauth-oauth (1.2.0)
-      oauth
-      omniauth (>= 1.0, < 3)
-    omniauth-oauth2 (1.7.3)
-      oauth2 (>= 1.4, < 3)
-      omniauth (>= 1.9, < 3)
-    omniauth-twitter (1.4.0)
-      omniauth-oauth (~> 1.1)
-      rack
-    open4 (1.3.4)
-    orm_adapter (0.5.0)
-    paper_trail (12.3.0)
-      activerecord (>= 5.2)
-      request_store (~> 1.1)
-    parallel (1.22.1)
-    paranoia (2.6.0)
-      activerecord (>= 5.1, < 7.1)
-    parser (3.1.2.0)
-      ast (~> 2.4.1)
-    path_expander (1.1.0)
-    patron (0.13.3)
-    pg (1.4.1)
-    phantomjs (2.1.1.0)
-    psych (4.0.4)
-      stringio
-    ptools (1.4.2)
-    public_activity (2.0.1)
-      actionpack (>= 5.0.0)
-      activerecord (>= 5.0)
-      i18n (>= 0.5.0)
-      railties (>= 5.0.0)
-    public_suffix (4.0.7)
-    puma (5.6.4)
-      nio4r (~> 2.0)
-    pundit (2.2.0)
-      activesupport (>= 3.0.0)
-    racc (1.6.0)
-    rack (2.2.3.1)
-    rack-attack (6.6.1)
-      rack (>= 1.0, < 3)
-    rack-cors (1.1.1)
-      rack (>= 2.0.0)
-    rack-mini-profiler (3.0.0)
-      rack (>= 1.2.0)
-    rack-protection (2.2.0)
-      rack
-    rack-test (2.0.1)
-      rack (>= 1.3)
-    rails (7.0.3)
-      actioncable (= 7.0.3)
-      actionmailbox (= 7.0.3)
-      actionmailer (= 7.0.3)
-      actionpack (= 7.0.3)
-      actiontext (= 7.0.3)
-      actionview (= 7.0.3)
-      activejob (= 7.0.3)
-      activemodel (= 7.0.3)
-      activerecord (= 7.0.3)
-      activestorage (= 7.0.3)
-      activesupport (= 7.0.3)
-      bundler (>= 1.15.0)
-      railties (= 7.0.3)
-    rails-dom-testing (2.0.3)
-      activesupport (>= 4.2.0)
-      nokogiri (>= 1.6)
-    rails-erd (1.7.1)
-      activerecord (>= 4.2)
-      activesupport (>= 4.2)
-      choice (~> 0.2.0)
-      ruby-graphviz (~> 1.2)
-    rails-html-sanitizer (1.4.3)
-      loofah (~> 2.3)
-    railties (7.0.3)
-      actionpack (= 7.0.3)
-      activesupport (= 7.0.3)
-      method_source
-      rake (>= 12.2)
-      thor (~> 1.0)
-      zeitwerk (~> 2.5)
-    rainbow (3.1.1)
-    rake (13.0.6)
-    rdoc (6.4.0)
-      psych (>= 4.0.0)
-    redis (4.7.0)
-    reek (6.1.1)
-      kwalify (~> 0.7.0)
-      parser (~> 3.1.0)
-      rainbow (>= 2.0, < 4.0)
-    regexp_parser (2.5.0)
-    request_store (1.5.1)
-      rack (>= 1.4)
-    resource_kit (0.1.8)
-      addressable (>= 2.3.6, < 3.0.0)
-    responders (3.0.1)
-      actionpack (>= 5.0)
-      railties (>= 5.0)
-    rexml (3.2.5)
-    rmagick (4.2.5)
-    rspec (3.11.0)
-      rspec-core (~> 3.11.0)
-      rspec-expectations (~> 3.11.0)
-      rspec-mocks (~> 3.11.0)
-    rspec-core (3.11.0)
-      rspec-support (~> 3.11.0)
-    rspec-expectations (3.11.0)
-      diff-lcs (>= 1.2.0, < 2.0)
-      rspec-support (~> 3.11.0)
-    rspec-mocks (3.11.1)
-      diff-lcs (>= 1.2.0, < 2.0)
-      rspec-support (~> 3.11.0)
-    rspec-rails (5.1.2)
-      actionpack (>= 5.2)
-      activesupport (>= 5.2)
-      railties (>= 5.2)
-      rspec-core (~> 3.10)
-      rspec-expectations (~> 3.10)
-      rspec-mocks (~> 3.10)
-      rspec-support (~> 3.10)
-    rspec-support (3.11.0)
-    rspec_api_documentation (6.1.0)
-      activesupport (>= 3.0.0)
-      mustache (~> 1.0, >= 0.99.4)
-      rspec (~> 3.0)
-    rubocop (1.31.0)
-      parallel (~> 1.10)
-      parser (>= 3.1.0.0)
-      rainbow (>= 2.2.2, < 4.0)
-      regexp_parser (>= 1.8, < 3.0)
-      rexml (>= 3.2.5, < 4.0)
-      rubocop-ast (>= 1.18.0, < 2.0)
-      ruby-progressbar (~> 1.7)
-      unicode-display_width (>= 1.4.0, < 3.0)
-    rubocop-ast (1.18.0)
-      parser (>= 3.1.1.0)
-    ruby-graphviz (1.2.5)
-      rexml
-    ruby-progressbar (1.11.0)
-    ruby-statistics (3.0.0)
-    ruby2_keywords (0.0.5)
-    ruby_parser (3.19.1)
-      sexp_processor (~> 4.16)
-    rubycritic (4.7.0)
-      flay (~> 2.8)
-      flog (~> 4.4)
-      launchy (>= 2.0.0)
-      parser (>= 2.6.0)
-      rainbow (~> 3.0)
-      reek (~> 6.0, < 7.0)
-      ruby_parser (~> 3.8)
-      simplecov (>= 0.17.0)
-      tty-which (~> 0.4.0)
-      virtus (~> 1.0)
-    rubyzip (2.3.2)
-    screencap (0.1.4)
-      phantomjs
-    sdoc (2.4.0)
-      rdoc (>= 5.0)
-    searchkick (5.0.4)
-      activemodel (>= 5.2)
-      hashie
-    sexp_processor (4.16.1)
-    shoulda (4.0.0)
-      shoulda-context (~> 2.0)
-      shoulda-matchers (~> 4.0)
-    shoulda-context (2.0.0)
-    shoulda-matchers (4.5.1)
-      activesupport (>= 4.2.0)
-    sidekiq (6.5.1)
-      connection_pool (>= 2.2.2)
-      rack (~> 2.0)
-      redis (>= 4.2.0)
-    simplecov (0.21.2)
-      docile (~> 1.1)
-      simplecov-html (~> 0.11)
-      simplecov_json_formatter (~> 0.1)
-    simplecov-html (0.12.3)
-    simplecov_json_formatter (0.1.4)
-    sinatra (2.2.0)
-      mustermann (~> 1.0)
-      rack (~> 2.2)
-      rack-protection (= 2.2.0)
-      tilt (~> 2.0)
-    slim (4.1.0)
-      temple (>= 0.7.6, < 0.9)
-      tilt (>= 2.0.6, < 2.1)
-    spring (4.0.0)
-    sqlite3 (1.4.4)
-    sshkit (1.21.3)
-      net-scp (>= 1.1.2)
-      net-ssh (>= 2.8.0)
-    stackprof (0.2.19)
-    streamio-ffmpeg (3.0.2)
-      multi_json (~> 1.8)
-    stringio (3.0.2)
-    strscan (3.0.3)
-    sys-uname (1.2.2)
-      ffi (~> 1.1)
-    temple (0.8.2)
-    terminal-table (3.0.2)
-      unicode-display_width (>= 1.1.1, < 3)
-    terrapin (0.6.0)
-      climate_control (>= 0.0.3, < 1.0)
-    thor (1.2.1)
-    thread_safe (0.3.6)
-    tilt (2.0.10)
-    timeout (0.3.0)
-    tty-which (0.4.2)
-    tzinfo (2.0.4)
-      concurrent-ruby (~> 1.0)
-    unicode-display_width (2.2.0)
-    uniform_notifier (1.16.0)
-    virtus (1.0.5)
-      axiom-types (~> 0.1)
-      coercible (~> 1.0)
-      descendants_tracker (~> 0.0, >= 0.0.3)
-      equalizer (~> 0.0, >= 0.0.9)
-    warden (1.2.9)
-      rack (>= 2.0.9)
-    web-console (4.0.4)
-      actionview (>= 6.0.0)
-      activemodel (>= 6.0.0)
-      bindex (>= 0.4.0)
-      railties (>= 6.0.0)
-    websocket-driver (0.7.5)
-      websocket-extensions (>= 0.1.0)
-    websocket-extensions (0.1.5)
-    whenever (1.0.0)
-      chronic (>= 0.6.3)
-    zeitwerk (2.6.0)
-
-PLATFORMS
-  x86_64-linux
-
-DEPENDENCIES
-  active_model_serializers
-  activerecord-import
-  acts_as_list
-  annotate
-  bcrypt (>= 3.1.7)
-  better_errors (~> 2.8.0)
-  brakeman
-  bullet
-  byebug
-  capistrano-rsync-bladrak (~> 1.3.3)
-  connection_pool
-  curb (>= 0.8.8)
-  dalli
-  database_cleaner
-  dawnscanner
-  derailed_benchmarks
-  devise
-  devise_token_auth!
-  dspace_rest_client!
-  elasticsearch (< 7.14)
-  execjs
-  factory_bot_rails
-  faker
-  faraday
-  faraday-net_http_persistent (~> 2.0)
-  feature
-  ffi-libarchive
-  flamegraph
-  gitlab
-  immigrant
-  kt-paperclip!
-  mimemagic
-  mina
-  minitest-reporters
-  net-http-persistent
-  omniauth-facebook
-  omniauth-google-oauth2 (= 0.8.2)
-  omniauth-twitter
-  paper_trail
-  paranoia
-  pg
-  public_activity
-  puma
-  pundit
-  rack-attack
-  rack-cors
-  rack-mini-profiler
-  rails (>= 6.0.0)
-  rails-erd
-  rainbow
-  rdoc
-  rmagick
-  rspec-rails (>= 3.8)
-  rspec_api_documentation
-  rubocop
-  rubycritic
-  rubyzip
-  screencap
-  sdoc (>= 0.4.0)
-  searchkick
-  shoulda
-  sidekiq
-  sinatra
-  slim
-  spring
-  stackprof
-  streamio-ffmpeg (>= 1.0.0)
-  web-console (~> 4.0.4)
-  whenever
-
-BUNDLED WITH
-   2.3.15
diff --git a/app/controllers/v1/email_controller.rb b/app/controllers/v1/email_controller.rb
index 4e641505a837f2338a616f6a1a2c87e78f1df7d5..233ab55de06bdd1d35c1cf90c23cab74891efce0 100644
--- a/app/controllers/v1/email_controller.rb
+++ b/app/controllers/v1/email_controller.rb
@@ -21,13 +21,28 @@ class V1::EmailController < ApplicationController
   before_action :authenticate, only: [:create]
   before_action -> { authorize current_user }, only: [:create]
 
+  def index
+    users_email = []
+    for u in User.all
+      users_email.push(u.email)
+    end
+    render json: users_email
+
+  end
+
   def create
     email = Email.new(email_params)
     email.role_ids = roles_params[:roles]
+    
+    users = User.joins(:roles).where(roles: { id: email.role_ids }).distinct
+    for u in users 
+      email.emails.push(u.email)
+    end
+
     email.user = current_user
     if email.save
       email.emails.each do |address|
-        EmailMailer.new_email(email, address).deliver_now
+        UserMailer.users_email_sender(address, email_params[:subject], email_params[:body]).deliver_now
       end
       render status: :ok
     else
diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb
index 1bb6cc43c39f90705ba99b9470f0e97d15d1e210..07c42396673334385588942ece2395163c1a6696 100644
--- a/app/mailers/user_mailer.rb
+++ b/app/mailers/user_mailer.rb
@@ -15,4 +15,9 @@ class UserMailer < ActionMailer::Base
         mail(to: @user.email, subject: 'Confirmação de email')
     end
 
+    def users_email_sender (email, subject, body)
+        @body = body
+        mail(to: email, subject: subject)
+    end
+
 end
diff --git a/app/views/user_mailer/users_email_sender.html.erb b/app/views/user_mailer/users_email_sender.html.erb
new file mode 100644
index 0000000000000000000000000000000000000000..af08a471a8549280cbbdeb6f70ffb7a51e2b01b1
--- /dev/null
+++ b/app/views/user_mailer/users_email_sender.html.erb
@@ -0,0 +1,167 @@
+<!DOCTYPE html>
+<style>
+    body{
+        background-color: #ffffff;
+        font-family: 'Roboto', sans-serif;
+        font-style: normal;
+        max-width: 569px;
+        padding: 54px  16px 56px 15px ;
+        margin: 0 auto;
+        color: #666666;
+    }
+    body p{
+        line-height: 21px;
+        font-family: Roboto;
+        font-style: normal;
+        font-weight: normal;
+        font-size: 15px;
+        margin: 15px 0 15px 0;
+    }
+    h1{
+        font-weight: 500;
+        font-size: 20px;
+        color: #00BCD4;
+    }
+    a{
+        color: #00BCD4;
+        text-decoration: none;
+    }
+    span{
+        font-size: 18px;
+        text-align: center;
+        letter-spacing: 0.01em;
+        display: inline-block;
+        margin: 0 0 3px 0;
+    }
+    hr{
+        width: 45%;
+        height:0;
+        border: 1px solid #D1D1D1;
+        margin: 20px auto 20px auto;
+    }
+
+    .logo{
+        width:252px;
+    }
+    .publish{
+        text-align: center;
+        margin-top: 20px;
+        margin-bottom: 40px;
+    }
+    .buttom{
+
+        left: 217px;
+        top: 276px;
+
+        margin-top:15px;
+        padding: 17px 14px 16px 15px;
+
+        background: #FF7F00;
+        border-radius: 3px;
+        border: none;
+        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.25);
+
+        font-weight: 500;
+        line-height: normal;
+        font-size: 14px;
+        color: #FFFFFF;
+    }
+    .info ul{
+        list-style-type: none;
+    }
+    .info ul li{
+        margin-top: 1em;
+        margin-bottom: 1em;
+        line-height: 21px;
+        font-family: Roboto;
+        font-style: normal;
+        font-weight: normal;
+        font-size: 15px;
+    }
+    .change-info p{
+        line-height: 17px !important;
+        font-size: 12px !important;
+    }
+    .block_margin{
+        margin: 30px 0px 30px 0px;
+    }
+    .bottom{
+        text-align: center;
+        margin-right: 10%;
+        margin-left: 10%;
+    }
+
+</style>
+
+<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<html>
+    <body>
+      <%= render html: raw(@body) %>
+        <div class="bottom">
+            <p>Por favor, não responda esta mensagem. Em caso de dúvidas, acesse nossa <a href="https://plataformaintegrada.mec.gov.br/ajuda" target="_blank">Central de Ajuda</a></p>
+            <a href="https://plataformaintegrada.mec.gov.br" target="_blank">
+                <svg version="1.1" id="Camada_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-178 375 253.6 43" enable-background="new -178 375 253.6 43" xml:space="preserve">
+                    <g>
+                        <g>
+                            <path fill="#656666" d="M-99.6,390.5v5.8h-2v-14.5h5.6c1.5,0,2.7,0.4,3.6,1.2s1.3,1.8,1.3,3.1c0,1.3-0.4,2.4-1.3,3.2    c-0.9,0.8-2.1,1.2-3.6,1.2H-99.6z M-99.6,389h3.6c1,0,1.7-0.3,2.2-0.8s0.7-1.2,0.7-2c0-0.8-0.2-1.5-0.7-2s-1.2-0.8-2.2-0.8h-3.6    V389z"/>
+                            <path fill="#656666" d="M-86.6,394.8h6.8v1.5h-8.8v-14.5h2V394.8z"/>
+                            <path fill="#656666" d="M-69.5,392.6h-6.1l-1.4,3.7h-2l5.6-14.5h1.7l5.5,14.5h-2L-69.5,392.6z M-75,390.9h4.9l-2.4-6.6h-0.1    L-75,390.9z"/>
+                            <path fill="#656666" d="M-54.4,383.4H-59v12.9h-2v-12.9h-4.6v-1.6h11.2V383.4z"/>
+                            <path fill="#656666" d="M-45.5,392.6h-6.1l-1.4,3.7h-2l5.6-14.5h1.7l5.5,14.5h-2L-45.5,392.6z M-50.9,390.9h4.9l-2.4-6.6h-0.1    L-50.9,390.9z"/>
+                            <path fill="#656666" d="M-31.6,389.9h-6.6v6.4h-2v-14.5h9.6v1.5h-7.6v5h6.6V389.9z"/>
+                            <path fill="#656666" d="M-17.3,390.4c0,1.8-0.5,3.2-1.6,4.4c-1.1,1.2-2.5,1.7-4.3,1.7c-1.7,0-3.1-0.6-4.1-1.7    c-1.1-1.2-1.6-2.6-1.6-4.4v-2.6c0-1.8,0.5-3.2,1.6-4.4c1.1-1.2,2.4-1.8,4.1-1.8c1.7,0,3.2,0.6,4.3,1.8c1.1,1.2,1.6,2.6,1.6,4.4    V390.4z M-19.3,387.8c0-1.3-0.4-2.4-1.1-3.3c-0.7-0.8-1.7-1.3-2.9-1.3c-1.1,0-2,0.4-2.7,1.3c-0.7,0.8-1,1.9-1,3.3v2.6    c0,1.3,0.3,2.4,1,3.3c0.7,0.8,1.6,1.3,2.7,1.3c1.2,0,2.2-0.4,2.9-1.3c0.7-0.8,1.1-1.9,1.1-3.3V387.8z"/>
+                            <path fill="#656666" d="M-12.5,390v6.3h-2v-14.4h5.2c1.6,0,2.8,0.4,3.6,1.1s1.3,1.7,1.3,3.1c0,0.7-0.2,1.4-0.6,1.9    c-0.4,0.5-1,1-1.7,1.3c0.8,0.3,1.4,0.7,1.7,1.3s0.5,1.3,0.5,2.2v1.2c0,0.5,0,0.9,0.1,1.2c0.1,0.4,0.3,0.6,0.5,0.9v0.2h-2    c-0.3-0.2-0.4-0.6-0.5-1c-0.1-0.4-0.1-0.9-0.1-1.4v-1.3c0-0.8-0.2-1.4-0.7-1.9S-8.3,390-9,390C-9,390-12.5,390-12.5,390z     M-12.5,388.5h3.1c1.1,0,1.9-0.2,2.4-0.6s0.7-1.1,0.7-1.9s-0.2-1.4-0.7-1.9s-1.2-0.7-2.2-0.7h-3.3V388.5z"/>
+                            <path fill="#656666" d="M1.6,381.8l4.6,11.8h0.1l4.6-11.8h2.5v14.5h-2v-5.7l0.2-5.9l0,0l-4.7,11.6H5.6l-4.7-11.6l0,0l0.2,5.9v5.7    h-2v-14.5H1.6z"/>
+                            <path fill="#656666" d="M25,392.6h-6.1l-1.4,3.7h-2l5.6-14.5h1.7l5.5,14.5h-2L25,392.6z M19.5,390.9h4.9l-2.4-6.5h-0.1L19.5,390.9    z"/>
+                            <path fill="#656666" d="M37.9,381.8l4.6,11.8h0.1l4.6-11.8h2.5v14.5h-2v-5.7l0.2-5.9l0,0l-4.7,11.6h-1.3l-4.7-11.6l0,0l0.2,5.9    v5.7h-2v-14.5H37.9z"/>
+                            <path fill="#656666" d="M61.8,389.6h-6.6v5.2h7.6v1.5h-9.6v-14.5h9.5v1.5h-7.5v4.7h6.6V389.6z"/>
+                            <path fill="#656666" d="M75.4,391.7L75.4,391.7c0,1.4-0.4,2.6-1.4,3.5c-1,0.9-2.3,1.4-3.9,1.4c-1.6,0-3-0.6-4-1.7    c-1-1.2-1.5-2.6-1.5-4.4v-2.6c0-1.8,0.5-3.3,1.5-4.4c1-1.2,2.4-1.7,4-1.7s2.9,0.4,3.9,1.3s1.4,2,1.4,3.5v0.1h-1.9    c0-1-0.3-1.8-0.9-2.4c-0.6-0.6-1.4-0.9-2.5-0.9s-2,0.4-2.6,1.3c-0.6,0.9-1,2-1,3.3v2.6c0,1.3,0.3,2.4,1,3.3    c0.6,0.9,1.5,1.3,2.6,1.3s1.9-0.3,2.5-0.9c0.6-0.6,0.9-1.4,0.9-2.4h1.9V391.7z"/>
+                        </g>
+                        <g>
+                            <g>
+                                <rect x="-114.7" y="375.5" fill="#656666" width="1.4" height="42.5"/>
+                            </g>
+                        </g>
+                        <path fill="#00A2BB" d="M-145.8,387.4h-8.1v5.2h9.6v3.7h-14.5v-20.7h14.4v3.7h-9.6v4.5h8.1v3.6H-145.8z"/>
+                        <path fill="#00A2BB" d="M-126.2,388.7L-126.2,388.7c-0.1,2.5-0.8,4.4-2.1,5.6c-1.3,1.3-3.2,1.9-5.6,1.9c-2.5,0-4.5-0.8-6-2.4   c-1.5-1.6-2.3-3.6-2.3-6.1v-4.2c0-2.5,0.7-4.5,2.2-6.1s3.5-2.4,5.8-2.4c2.5,0,4.5,0.7,5.8,2c1.3,1.3,2.1,3.2,2.3,5.6v0.1h-4.5   c-0.1-1.3-0.4-2.3-0.9-3c-0.5-0.7-1.4-1-2.6-1c-1.1,0-1.9,0.4-2.5,1.3c-0.6,0.9-0.9,2-0.9,3.4v4.4c0,1.4,0.3,2.6,1,3.5   c0.7,0.9,1.6,1.3,2.7,1.3c1.1,0,1.9-0.3,2.4-0.9c0.5-0.6,0.7-1.6,0.8-2.9L-126.2,388.7L-126.2,388.7z"/>
+                        <path fill="#EC6F23" d="M-173.2,410.1v7.9h-4.8v-20.7h8c2.4,0,4.3,0.6,5.7,1.7c1.4,1.1,2.1,2.6,2.1,4.6c0,1.1-0.3,2-0.8,2.8   c-0.6,0.8-1.4,1.4-2.5,1.9c1.3,0.4,2.2,1,2.7,1.8c0.6,0.8,0.8,1.9,0.8,3.1v1.3c0,0.5,0.1,1.2,0.2,1.8c0.2,0.7,0.4,1.2,0.8,1.5v0.2   h-5c-0.4-0.3-0.6-0.8-0.7-1.6c-0.1-0.7-0.2-1.4-0.2-2.1V413c0-1-0.3-1.7-0.8-2.3c-0.5-0.5-1.3-0.8-2.3-0.8h-3.2V410.1z    M-173.2,406.4h3.2c1,0,1.7-0.2,2.2-0.7c0.5-0.4,0.8-1.1,0.8-1.9c0-0.8-0.3-1.5-0.8-2c-0.5-0.6-1.3-0.8-2.2-0.8h-3.2V406.4z"/>
+                        <path fill="#E62854" d="M-145.8,409.1h-8.1v5.2h9.6v3.7h-14.5v-20.7h14.4v3.7h-9.6v4.5h8.1v3.6H-145.8z"/>
+                        <path fill="#56358B" d="M-142.2,418v-20.7h7.5c2.4,0,4.5,0.8,6.1,2.4c1.6,1.6,2.5,3.6,2.5,6.1v3.7c0,2.5-0.8,4.5-2.5,6.1   c-1.6,1.6-3.7,2.4-6.1,2.4H-142.2z M-137.4,401v13.3h2.4c1.3,0,2.3-0.4,3-1.3c0.7-0.9,1.1-2,1.1-3.5v-3.8c0-1.4-0.4-2.6-1.1-3.5   c-0.7-0.9-1.7-1.3-3-1.3L-137.4,401L-137.4,401z"/>
+                        <polygon fill="#00A2BB" points="-165.7,375.6 -169.4,381.4 -173.1,375.6 -177.9,375.6 -177.9,396.3 -173.1,396.3 -173.1,383.9    -170.7,387.4 -168.1,387.4 -165.8,383.9 -165.8,396.3 -160.9,396.3 -160.9,375.6  "/>
+                        <g>
+                            <path fill="#656666" d="M-100.4,407.5v3.9h-1.2v-9h3.2c1,0,1.7,0.2,2.2,0.7c0.5,0.4,0.8,1.1,0.8,1.9c0,0.5-0.1,0.9-0.4,1.2    c-0.2,0.3-0.6,0.6-1.1,0.8c0.5,0.2,0.8,0.4,1.1,0.8c0.2,0.4,0.3,0.8,0.3,1.3v0.9c0,0.3,0,0.5,0.1,0.8c0.1,0.3,0.2,0.4,0.3,0.5v0.1    h-1.3c-0.2-0.1-0.3-0.3-0.3-0.6c0-0.3-0.1-0.6-0.1-0.8v-0.8c0-0.5-0.1-0.9-0.4-1.2s-0.7-0.4-1.1-0.4L-100.4,407.5L-100.4,407.5z     M-100.4,406.6h1.9c0.7,0,1.2-0.1,1.5-0.4c0.3-0.3,0.5-0.7,0.5-1.2s-0.1-0.9-0.4-1.2c-0.3-0.3-0.8-0.4-1.4-0.4h-2L-100.4,406.6    L-100.4,406.6z"/>
+                            <path fill="#656666" d="M-90.7,411.5c-0.9,0-1.7-0.3-2.2-0.9s-0.8-1.4-0.8-2.4v-0.3c0-0.9,0.3-1.7,0.8-2.4c0.6-0.6,1.2-0.9,2-0.9    c0.9,0,1.6,0.3,2,0.8c0.5,0.5,0.7,1.3,0.7,2.2v0.8h-4.3l0,0c0,0.6,0.2,1.2,0.5,1.6s0.7,0.6,1.3,0.6c0.4,0,0.8-0.1,1.1-0.2    s0.6-0.3,0.8-0.5l0.5,0.8c-0.2,0.2-0.6,0.4-0.9,0.6C-89.7,411.5-90.1,411.5-90.7,411.5z M-90.9,405.6c-0.4,0-0.8,0.2-1,0.5    c-0.3,0.3-0.5,0.8-0.5,1.3l0,0h3.1v-0.2c0-0.5-0.1-0.9-0.4-1.2C-90,405.7-90.4,405.6-90.9,405.6z"/>
+                            <path fill="#656666" d="M-84.1,410.6c0.4,0,0.8-0.1,1.1-0.4c0.3-0.2,0.5-0.6,0.5-0.9h1.1l0,0c0,0.6-0.2,1.1-0.8,1.5    c-0.5,0.4-1.2,0.7-1.9,0.7c-1,0-1.7-0.3-2.2-0.9s-0.8-1.4-0.8-2.4V408c0-0.9,0.3-1.7,0.8-2.4c0.5-0.6,1.3-1,2.2-1    c0.8,0,1.4,0.2,1.9,0.7s0.7,1,0.7,1.7l0,0h-1.1c0-0.4-0.1-0.8-0.4-1c-0.3-0.3-0.7-0.4-1.1-0.4c-0.6,0-1.1,0.2-1.4,0.7    s-0.4,1-0.4,1.7v0.3c0,0.7,0.1,1.2,0.4,1.7C-85.2,410.4-84.7,410.6-84.1,410.6z"/>
+                            <path fill="#656666" d="M-75.9,410.4c-0.2,0.4-0.5,0.6-0.8,0.8c-0.3,0.2-0.7,0.3-1.1,0.3c-0.7,0-1.3-0.2-1.7-0.7    c-0.4-0.5-0.6-1.2-0.6-2.2v-3.9h1.2v3.9c0,0.7,0.1,1.2,0.3,1.5c0.2,0.3,0.5,0.4,1,0.4c0.4,0,0.8-0.1,1.1-0.3    c0.3-0.2,0.5-0.4,0.6-0.7v-4.8h1.2v6.7h-1.1L-75.9,410.4z"/>
+                            <path fill="#656666" d="M-69.8,405.8h-0.6c-0.3,0-0.6,0.1-0.8,0.2c-0.2,0.2-0.4,0.4-0.5,0.6v4.8h-1.2v-6.7h1.1l0.1,1    c0.2-0.3,0.4-0.6,0.7-0.8c0.3-0.2,0.6-0.3,1-0.3c0.1,0,0.2,0,0.3,0c0.1,0,0.1,0,0.2,0L-69.8,405.8z"/>
+                            <path fill="#656666" d="M-64.7,409.6c0-0.3-0.1-0.5-0.3-0.7c-0.2-0.2-0.6-0.3-1.2-0.4c-0.8-0.2-1.4-0.4-1.8-0.7    c-0.4-0.3-0.6-0.7-0.6-1.2s0.2-1,0.7-1.4c0.5-0.4,1.1-0.6,1.8-0.6c0.8,0,1.4,0.2,1.9,0.6c0.5,0.4,0.7,0.9,0.7,1.5l0,0h-1.2    c0-0.3-0.1-0.6-0.4-0.8c-0.2-0.2-0.6-0.3-1-0.3s-0.8,0.1-1,0.3c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.6    c0.2,0.2,0.6,0.3,1.1,0.4c0.8,0.2,1.5,0.4,1.9,0.7c0.4,0.3,0.6,0.7,0.6,1.2c0,0.6-0.2,1.1-0.7,1.4c-0.5,0.4-1.1,0.5-1.9,0.5    c-0.9,0-1.5-0.2-2-0.6c-0.5-0.4-0.7-0.9-0.7-1.5l0,0h1.2c0,0.4,0.2,0.7,0.5,0.9c0.3,0.2,0.7,0.3,1.1,0.3s0.8-0.1,1-0.3    C-64.8,410.2-64.7,409.9-64.7,409.6z"/>
+                            <path fill="#656666" d="M-62.3,408c0-1,0.3-1.8,0.8-2.4s1.3-1,2.2-1c0.9,0,1.7,0.3,2.2,1c0.5,0.6,0.8,1.5,0.8,2.4v0.1    c0,1-0.3,1.8-0.8,2.4s-1.3,0.9-2.2,0.9c-0.9,0-1.6-0.3-2.2-1C-62,409.8-62.3,409-62.3,408L-62.3,408z M-61.1,408.2    c0,0.7,0.1,1.3,0.4,1.7c0.3,0.5,0.7,0.7,1.3,0.7c0.6,0,1-0.2,1.3-0.7s0.4-1,0.4-1.7V408c0-0.7-0.2-1.3-0.5-1.7    c-0.3-0.5-0.7-0.7-1.3-0.7c-0.6,0-1,0.2-1.3,0.7s-0.4,1-0.4,1.7L-61.1,408.2L-61.1,408.2z"/>
+                            <path fill="#656666" d="M-50.9,409.6c0-0.3-0.1-0.5-0.3-0.7c-0.2-0.2-0.6-0.3-1.2-0.4c-0.8-0.2-1.4-0.4-1.8-0.7    c-0.4-0.3-0.6-0.7-0.6-1.2s0.2-1,0.7-1.4c0.5-0.4,1.1-0.6,1.8-0.6c0.8,0,1.4,0.2,1.9,0.6c0.5,0.4,0.7,0.9,0.7,1.5l0,0H-51    c0-0.3-0.1-0.6-0.4-0.8c-0.2-0.2-0.6-0.3-1-0.3s-0.8,0.1-1,0.3c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.6    c0.2,0.2,0.6,0.3,1.1,0.4c0.8,0.2,1.5,0.4,1.9,0.7c0.4,0.3,0.6,0.7,0.6,1.2c0,0.6-0.2,1.1-0.7,1.4c-0.5,0.4-1.1,0.5-1.9,0.5    c-0.9,0-1.5-0.2-2-0.6c-0.5-0.4-0.7-0.9-0.7-1.5l0,0h1.2c0,0.4,0.2,0.7,0.5,0.9c0.3,0.2,0.7,0.3,1.1,0.3s0.8-0.1,1-0.3    C-51.1,410.2-50.9,409.9-50.9,409.6z"/>
+                            <path fill="#656666" d="M-39.5,407.3h-4.1v3.2h4.7v1h-6v-9h5.9v1h-4.7v2.9h4.1v0.9H-39.5z"/>
+                            <path fill="#656666" d="M-38.1,408.2c0-1.1,0.2-1.9,0.7-2.6c0.5-0.7,1.1-1,1.9-1c0.4,0,0.7,0.1,1,0.2c0.3,0.1,0.6,0.4,0.8,0.6    v-3.7h1.2v9.6h-1l-0.1-0.8c-0.2,0.3-0.5,0.5-0.8,0.7c-0.3,0.2-0.7,0.2-1.1,0.2c-0.8,0-1.5-0.3-1.9-0.9    C-37.9,409.9-38.1,409.1-38.1,408.2L-38.1,408.2L-38.1,408.2z M-36.9,408.3c0,0.7,0.1,1.2,0.4,1.6c0.3,0.4,0.7,0.6,1.3,0.6    c0.4,0,0.7-0.1,0.9-0.2c0.2-0.2,0.4-0.4,0.6-0.7v-3.1c-0.2-0.3-0.4-0.5-0.6-0.7c-0.2-0.2-0.5-0.2-0.9-0.2c-0.6,0-1,0.2-1.3,0.7    s-0.4,1.1-0.4,1.9V408.3z"/>
+                            <path fill="#656666" d="M-26.4,410.4c-0.2,0.4-0.5,0.6-0.8,0.8c-0.3,0.2-0.7,0.3-1.1,0.3c-0.7,0-1.3-0.2-1.7-0.7s-0.6-1.2-0.6-2.2    v-3.9h1.2v3.9c0,0.7,0.1,1.2,0.3,1.5c0.2,0.3,0.5,0.4,1,0.4c0.4,0,0.8-0.1,1.1-0.3c0.3-0.2,0.5-0.4,0.6-0.7v-4.8h1.2v6.7h-1.1    L-26.4,410.4z"/>
+                            <path fill="#656666" d="M-20.8,410.6c0.4,0,0.8-0.1,1.1-0.4c0.3-0.2,0.5-0.6,0.5-0.9h1.1l0,0c0,0.6-0.2,1.1-0.8,1.5    c-0.5,0.4-1.2,0.7-1.9,0.7c-1,0-1.7-0.3-2.2-0.9s-0.8-1.4-0.8-2.4V408c0-0.9,0.3-1.7,0.8-2.4c0.5-0.6,1.3-1,2.2-1    c0.8,0,1.4,0.2,1.9,0.7s0.7,1,0.7,1.7l0,0h-1.1c0-0.4-0.1-0.8-0.4-1c-0.3-0.3-0.7-0.4-1.1-0.4c-0.6,0-1.1,0.2-1.4,0.7    c-0.3,0.5-0.4,1-0.4,1.7v0.3c0,0.7,0.1,1.2,0.4,1.7C-21.9,410.4-21.4,410.6-20.8,410.6z"/>
+                            <path fill="#656666" d="M-12.7,411.4c0-0.2-0.1-0.4-0.1-0.5c0-0.2,0-0.3,0-0.5c-0.2,0.3-0.5,0.6-0.9,0.8c-0.4,0.2-0.8,0.3-1.2,0.3    c-0.7,0-1.2-0.2-1.6-0.5c-0.4-0.4-0.5-0.8-0.5-1.5c0-0.6,0.3-1.1,0.8-1.5s1.2-0.5,2.1-0.5h1.3v-0.7c0-0.4-0.1-0.7-0.4-0.9    c-0.2-0.2-0.6-0.3-1-0.3s-0.7,0.1-1,0.3c-0.2,0.2-0.4,0.4-0.4,0.7h-1.2l0,0c0-0.5,0.2-0.9,0.7-1.3c0.5-0.4,1.1-0.6,1.9-0.6    c0.8,0,1.4,0.2,1.8,0.6c0.5,0.4,0.7,0.9,0.7,1.7v3.2c0,0.2,0,0.5,0,0.7c0,0.2,0.1,0.4,0.1,0.7h-1.1L-12.7,411.4L-12.7,411.4z     M-14.7,410.5c0.4,0,0.8-0.1,1.2-0.3c0.4-0.2,0.6-0.5,0.7-0.8v-1.1h-1.4c-0.5,0-0.9,0.1-1.2,0.4c-0.3,0.2-0.4,0.5-0.4,0.9    c0,0.3,0.1,0.5,0.3,0.7C-15.3,410.4-15.1,410.5-14.7,410.5z"/>
+                            <path fill="#656666" d="M-7.1,410.6c0.4,0,0.8-0.1,1.1-0.4c0.3-0.2,0.5-0.6,0.5-0.9h1.1l0,0c0,0.6-0.2,1.1-0.8,1.5    c-0.5,0.4-1.2,0.7-1.9,0.7c-1,0-1.7-0.3-2.2-0.9s-0.8-1.4-0.8-2.4V408c0-0.9,0.3-1.7,0.8-2.4c0.5-0.6,1.3-1,2.2-1    c0.8,0,1.4,0.2,1.9,0.7s0.7,1,0.7,1.7l0,0h-1.1c0-0.4-0.1-0.8-0.4-1c-0.3-0.3-0.7-0.4-1.1-0.4c-0.6,0-1.1,0.2-1.4,0.7    c-0.3,0.5-0.4,1-0.4,1.7v0.3c0,0.7,0.1,1.2,0.4,1.7C-8.2,410.4-7.8,410.6-7.1,410.6z"/>
+                            <path fill="#656666" d="M-1.8,403H-3v-1.2h1.2V403z M-1.8,411.4H-3v-6.7h1.2V411.4z"/>
+                            <path fill="#656666" d="M-0.3,408c0-1,0.3-1.8,0.8-2.4s1.3-1,2.2-1s1.7,0.3,2.2,1c0.5,0.6,0.8,1.5,0.8,2.4v0.1    c0,1-0.3,1.8-0.8,2.4s-1.3,0.9-2.2,0.9s-1.6-0.3-2.2-1C0,409.8-0.3,409-0.3,408L-0.3,408z M1,408.2c0,0.7,0.1,1.3,0.4,1.7    c0.3,0.5,0.7,0.7,1.3,0.7s1-0.2,1.3-0.7s0.4-1,0.4-1.7V408c0-0.7-0.2-1.3-0.5-1.7c-0.3-0.5-0.7-0.7-1.3-0.7s-1,0.2-1.3,0.7    s-0.4,1-0.4,1.7v0.2H1z"/>
+                            <path fill="#656666" d="M8.3,404.7l0.1,1c0.2-0.4,0.5-0.6,0.8-0.8c0.3-0.2,0.7-0.3,1.1-0.3c0.7,0,1.3,0.2,1.7,0.6    c0.4,0.4,0.6,1.1,0.6,2v4.2h-1.2v-4.2c0-0.6-0.1-1-0.3-1.3c-0.2-0.2-0.6-0.4-1.1-0.4c-0.3,0-0.7,0.1-0.9,0.3    c-0.3,0.2-0.5,0.4-0.6,0.7v4.9H7.3v-6.7C7.3,404.7,8.3,404.7,8.3,404.7z"/>
+                            <path fill="#656666" d="M18.5,411.4c0-0.2-0.1-0.4-0.1-0.5c0-0.2,0-0.3,0-0.5c-0.2,0.3-0.5,0.6-0.9,0.8c-0.4,0.2-0.8,0.3-1.2,0.3    c-0.7,0-1.2-0.2-1.6-0.5c-0.4-0.4-0.5-0.8-0.5-1.5c0-0.6,0.3-1.1,0.8-1.5s1.2-0.5,2.1-0.5h1.3v-0.7c0-0.4-0.1-0.7-0.4-0.9    c-0.2-0.2-0.6-0.3-1-0.3s-0.7,0.1-1,0.3c-0.2,0.2-0.4,0.4-0.4,0.7h-1.2l0,0c0-0.5,0.2-0.9,0.7-1.3c0.5-0.4,1.1-0.6,1.9-0.6    c0.8,0,1.4,0.2,1.8,0.6c0.5,0.4,0.7,0.9,0.7,1.7v3.2c0,0.2,0,0.5,0,0.7c0,0.2,0.1,0.4,0.1,0.7h-1.1L18.5,411.4L18.5,411.4z     M16.5,410.5c0.4,0,0.8-0.1,1.2-0.3c0.4-0.2,0.6-0.5,0.7-0.8v-1.1H17c-0.5,0-0.9,0.1-1.2,0.4c-0.3,0.2-0.4,0.5-0.4,0.9    c0,0.3,0.1,0.5,0.3,0.7C15.8,410.4,16.1,410.5,16.5,410.5z"/>
+                            <path fill="#656666" d="M22.6,403h-1.2v-1.2h1.2V403z M22.6,411.4h-1.2v-6.7h1.2V411.4z"/>
+                            <path fill="#656666" d="M28.4,409.6c0-0.3-0.1-0.5-0.3-0.7c-0.2-0.2-0.6-0.3-1.2-0.4c-0.8-0.2-1.4-0.4-1.8-0.7    c-0.4-0.3-0.6-0.7-0.6-1.2s0.2-1,0.7-1.4c0.5-0.4,1.1-0.6,1.8-0.6c0.8,0,1.4,0.2,1.9,0.6c0.5,0.4,0.7,0.9,0.7,1.5l0,0h-1.2    c0-0.3-0.1-0.6-0.4-0.8c-0.2-0.2-0.6-0.3-1-0.3s-0.8,0.1-1,0.3c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.6    c0.2,0.2,0.6,0.3,1.1,0.4c0.8,0.2,1.5,0.4,1.9,0.7c0.4,0.3,0.6,0.7,0.6,1.2c0,0.6-0.2,1.1-0.7,1.4c-0.5,0.4-1.1,0.5-1.9,0.5    c-0.9,0-1.5-0.2-2-0.6c-0.5-0.4-0.7-0.9-0.7-1.5l0,0h1.2c0,0.4,0.2,0.7,0.5,0.9c0.3,0.2,0.7,0.3,1.1,0.3c0.4,0,0.8-0.1,1-0.3    C28.2,410.2,28.4,409.9,28.4,409.6z"/>
+                            <path fill="#656666" d="M34.5,411.4v-9h2.8c1.2,0,2.1,0.4,2.8,1.1s1.1,1.7,1.1,2.8v1.2c0,1.1-0.4,2.1-1.1,2.8    c-0.7,0.7-1.7,1.1-2.8,1.1C37.3,411.4,34.5,411.4,34.5,411.4z M35.7,403.4v7.1h1.5c0.8,0,1.5-0.3,2-0.8s0.7-1.2,0.7-2.1v-1.2    c0-0.8-0.2-1.5-0.7-2.1c-0.5-0.6-1.1-0.8-2-0.8h-1.5V403.4z"/>
+                            <path fill="#656666" d="M43.8,403h-1.2v-1.2h1.2V403z M43.8,411.4h-1.2v-6.7h1.2V411.4z"/>
+                            <path fill="#656666" d="M45.5,408.2c0-1.1,0.2-1.9,0.7-2.6c0.5-0.7,1.1-1,1.9-1c0.4,0,0.8,0.1,1.1,0.3c0.3,0.2,0.6,0.4,0.8,0.7    l0.1-0.9h1v6.7c0,0.9-0.2,1.5-0.7,2s-1.2,0.7-2.2,0.7c-0.3,0-0.7,0-1-0.1c-0.4-0.1-0.7-0.2-1-0.4l0.3-0.9c0.2,0.1,0.5,0.2,0.8,0.3    s0.6,0.1,0.9,0.1c0.6,0,1-0.1,1.3-0.4c0.3-0.3,0.4-0.7,0.4-1.2v-0.8c-0.2,0.3-0.5,0.5-0.8,0.6c-0.3,0.1-0.7,0.2-1,0.2    c-0.8,0-1.5-0.3-1.9-0.9C45.7,410,45.5,409.2,45.5,408.2L45.5,408.2L45.5,408.2z M46.7,408.3c0,0.7,0.1,1.2,0.4,1.6    c0.3,0.4,0.7,0.6,1.3,0.6c0.4,0,0.7-0.1,0.9-0.2c0.2-0.2,0.5-0.4,0.6-0.7v-3.1c-0.2-0.3-0.4-0.5-0.6-0.7c-0.3-0.2-0.6-0.2-0.9-0.2    c-0.6,0-1,0.2-1.3,0.7s-0.4,1.1-0.4,1.9V408.3z"/>
+                            <path fill="#656666" d="M54.2,403H53v-1.2h1.2V403z M54.2,411.4H53v-6.7h1.2V411.4z"/>
+                            <path fill="#656666" d="M57.7,403.1v1.6H59v0.9h-1.3v4c0,0.3,0.1,0.5,0.2,0.7c0.1,0.1,0.3,0.2,0.5,0.2c0.1,0,0.1,0,0.2,0    c0.1,0,0.2,0,0.2-0.1l0.2,0.8c-0.1,0.1-0.2,0.1-0.4,0.2c-0.2,0-0.4,0.1-0.5,0.1c-0.5,0-0.9-0.1-1.2-0.4c-0.3-0.3-0.4-0.8-0.4-1.4    v-4h-1.1v-0.9h1.1v-1.6L57.7,403.1L57.7,403.1z"/>
+                            <path fill="#656666" d="M64.5,411.4c0-0.2-0.1-0.4-0.1-0.5c0-0.2,0-0.3,0-0.5c-0.2,0.3-0.5,0.6-0.9,0.8c-0.4,0.2-0.8,0.3-1.2,0.3    c-0.7,0-1.2-0.2-1.6-0.5c-0.4-0.4-0.5-0.8-0.5-1.5c0-0.6,0.3-1.1,0.8-1.5s1.2-0.5,2.1-0.5h1.3v-0.7c0-0.4-0.1-0.7-0.4-0.9    c-0.2-0.2-0.6-0.3-1-0.3s-0.7,0.1-1,0.3c-0.2,0.2-0.4,0.4-0.4,0.7h-1.2l0,0c0-0.5,0.2-0.9,0.7-1.3c0.5-0.4,1.1-0.6,1.9-0.6    c0.8,0,1.4,0.2,1.8,0.6c0.5,0.4,0.7,0.9,0.7,1.7v3.2c0,0.2,0,0.5,0,0.7c0,0.2,0.1,0.4,0.1,0.7h-1.1L64.5,411.4L64.5,411.4z     M62.5,410.5c0.4,0,0.8-0.1,1.2-0.3c0.4-0.2,0.6-0.5,0.7-0.8v-1.1H63c-0.5,0-0.9,0.1-1.2,0.4c-0.3,0.2-0.4,0.5-0.4,0.9    c0,0.3,0.1,0.5,0.3,0.7C61.9,410.4,62.2,410.5,62.5,410.5z"/>
+                            <path fill="#656666" d="M68.7,403h-1.2v-1.2h1.2V403z M68.7,411.4h-1.2v-6.7h1.2V411.4z"/>
+                            <path fill="#656666" d="M74.4,409.6c0-0.3-0.1-0.5-0.3-0.7c-0.2-0.2-0.6-0.3-1.2-0.4c-0.8-0.2-1.4-0.4-1.8-0.7    c-0.4-0.3-0.6-0.7-0.6-1.2s0.2-1,0.7-1.4c0.5-0.4,1.1-0.6,1.8-0.6c0.8,0,1.4,0.2,1.9,0.6c0.5,0.4,0.7,0.9,0.7,1.5l0,0h-1.2    c0-0.3-0.1-0.6-0.4-0.8c-0.2-0.2-0.6-0.3-1-0.3s-0.8,0.1-1,0.3c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.6    c0.2,0.2,0.6,0.3,1.1,0.4c0.8,0.2,1.5,0.4,1.9,0.7c0.4,0.3,0.6,0.7,0.6,1.2c0,0.6-0.2,1.1-0.7,1.4c-0.5,0.4-1.1,0.5-1.9,0.5    c-0.9,0-1.5-0.2-2-0.6c-0.5-0.4-0.7-0.9-0.7-1.5l0,0h1.2c0,0.4,0.2,0.7,0.5,0.9c0.3,0.2,0.7,0.3,1.1,0.3c0.4,0,0.8-0.1,1-0.3    C74.3,410.2,74.4,409.9,74.4,409.6z"/>
+                        </g>
+                    </g>
+                </svg>
+            </a>
+        </div>
+    </body>
+</html>
diff --git a/app/views/user_mailer/users_email_sender.text.erb b/app/views/user_mailer/users_email_sender.text.erb
new file mode 100644
index 0000000000000000000000000000000000000000..2f21cf84a179b8896e6ce361b72606c23718e748
--- /dev/null
+++ b/app/views/user_mailer/users_email_sender.text.erb
@@ -0,0 +1 @@
+<%= @body %>
\ No newline at end of file
diff --git a/config/database.yml b/config/database.yml
index 1cfa07a8d188323538202602e770c2bcd658bb01..4a6887cbb51d15367592a8dcd33505eb999d333e 100644
--- a/config/database.yml
+++ b/config/database.yml
@@ -6,16 +6,16 @@ development:
   adapter: postgresql
   encoding: unicode
   database: portalmecapi
-  username: arthur
-  password: senhadopostgres
+  username: postgres
+  password: luanmatheus
   host: localhost
 
 test:
   adapter: postgresql
   encoding: unicode
   database: portalmecapi
-  username: arthur
-  password: senhadopostgres
+  username: postgres
+  password: luanmatheus
   host: localhost
 
 production:
diff --git a/config/routes.rb b/config/routes.rb
index b40d696ba8c0477cd944159d46e517d68a75b9ac..229c06a652b0d44ab83afd0e0442bbded16d0dbf 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -249,5 +249,6 @@ Rails.application.routes.draw do
     get 'learning_objects_complaints/queue_user/:user_id', to: 'learning_objects_complaints#queue_user'
     get 'user_progresses/:user_id', to: 'user_progresses#index'
     get '/top_users', to: 'users#show_top_users'
+    get '/email', to: 'email#index'
   end
 end
diff --git a/lib/tasks/email_sender.rake b/lib/tasks/email_sender.rake
new file mode 100644
index 0000000000000000000000000000000000000000..40ad9cdab165a789226558dbaeb5928be107e5fc
--- /dev/null
+++ b/lib/tasks/email_sender.rake
@@ -0,0 +1,8 @@
+namespace :email_users do 
+
+    task :email_sender => :environment do
+        @user = User.where("email = 'admin@inf.ufpr.br'").first
+        UserMailer.users_email_sender(@user).deliver_now
+    end
+
+end
\ No newline at end of file