{"action":"created","issue":{"url":"https://api.github.com/repos/cozy/cozy-emails/issues/232","labels_url":"https://api.github.com/repos/cozy/cozy-emails/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/cozy/cozy-emails/issues/232/comments","events_url":"https://api.github.com/repos/cozy/cozy-emails/issues/232/events","html_url":"https://github.com/cozy/cozy-emails/issues/232","id":64367679,"number":232,"title":"Add 2 different fields for login and address","user":{"login":"ZeHiro","id":7999082,"avatar_url":"https://avatars.githubusercontent.com/u/7999082?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeHiro","html_url":"https://github.com/ZeHiro","followers_url":"https://api.github.com/users/ZeHiro/followers","following_url":"https://api.github.com/users/ZeHiro/following{/other_user}","gists_url":"https://api.github.com/users/ZeHiro/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeHiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeHiro/subscriptions","organizations_url":"https://api.github.com/users/ZeHiro/orgs","repos_url":"https://api.github.com/users/ZeHiro/repos","events_url":"https://api.github.com/users/ZeHiro/events{/privacy}","received_events_url":"https://api.github.com/users/ZeHiro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cozy/cozy-emails/labels/4%20-%20QA","name":"4 - QA","color":"bfe5bf"},{"url":"https://api.github.com/repos/cozy/cozy-emails/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-03-25T20:41:41Z","updated_at":"2015-05-07T12:52:14Z","closed_at":null,"body":"In version 0.6.9 of email app, there is only one field for login and adress. The problem is the following : \r\n- when filling adress with login@domain.tld, the connection to the imap/smtp server is not possible if the login is not the full adress\r\n- when removing the @domain.tld, IMAP/SMTP servers are not filled automatically, and it is not possible to send an email, as there is no valid adress specified.\r\n\r\nProposal : \r\n- Add a second field \"login\"\r\n- When address is filled in the form, login field is filled with the same value as address\r\n- Login can be modified without impact on address\r\n\r\nThis should have inpact on couchDB structure (a new field adress could be necessary) \r\n\r\n\r\n<!---\r\n@huboard:{\"order\":76.330078125,\"milestone_order\":232,\"custom_state\":\"\"}\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/cozy/cozy-emails/issues/comments/99853313","html_url":"https://github.com/cozy/cozy-emails/issues/232#issuecomment-99853313","issue_url":"https://api.github.com/repos/cozy/cozy-emails/issues/232","id":99853313,"user":{"login":"poupotte","id":2659119,"avatar_url":"https://avatars.githubusercontent.com/u/2659119?v=3","gravatar_id":"","url":"https://api.github.com/users/poupotte","html_url":"https://github.com/poupotte","followers_url":"https://api.github.com/users/poupotte/followers","following_url":"https://api.github.com/users/poupotte/following{/other_user}","gists_url":"https://api.github.com/users/poupotte/gists{/gist_id}","starred_url":"https://api.github.com/users/poupotte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poupotte/subscriptions","organizations_url":"https://api.github.com/users/poupotte/orgs","repos_url":"https://api.github.com/users/poupotte/repos","events_url":"https://api.github.com/users/poupotte/events{/privacy}","received_events_url":"https://api.github.com/users/poupotte/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T12:52:14Z","updated_at":"2015-05-07T12:52:14Z","body":"It seems work for me, thanks @clochix ."}}